/*基本*/
.mtn {
    margin-top: 10px;
}
a.active {
    font-weight: bold;
}
.panel-body {
    padding: 10px 15px;
}
.panel-body .list-unstyled li {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}
.panel-footer .pagination {
    margin: 0;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 50px; /* Margin bottom by footer height */
    background: #E7EBF0 url(../img/bg.jpg);
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px; /* Set the fixed height of the footer here */
    /*background-color: #f5f5f5;*/
}


/* Custom page CSS
 * Not required for template or sticky footer method.
 * -------------------------------------------------- */

body > .container {
    padding: 50px 15px 0;
}
.container .text-muted {
    margin: 20px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

.breadcrumb {
    margin-bottom: 10px;
}
/*导航*/
.navbar-inverse {
    background-color: #343a40 !important;
    border-color: rgba(0, 0, 0, 0.2);
}
.navbar-inverse .navbar-brand {
    color: #fff;
    font-weight: bold;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    background-color: transparent;
}
/*公告*/
.well {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(26,26,26,.1);
    margin-bottom: 10px;
}
.jumbotron {
    padding:15px 0;
    margin-bottom: 10px;
    border-radius: 0;
    background: #F9FAFB;
    background: linear-gradient(#FDFDFD, #F6F8F9);
    background: -webkit-linear-gradient(#FDFDFD, #F6F8F9);
    background: -moz-linear-gradient(#FDFDFD, #F6F8F9);
    background-image: url(../img/bg_banner.png);
    background-position: center;
    overflow-x: hidden;
    position: relative;
    background-size: cover;

}
.jumbotron h1{
    font-size: 50px;
}
.jumbotron p {
    font-size: 16px;
    font-weight: bold;
}
.jumbotron p.desc {
    font-size: 16px;
}
/*面版*/
.panel-default {
    background: #fff;
    border-radius: 2px;
    border: 0 solid rgba(0, 0, 0, 0.125);
    -webkit-box-shadow: 0 1px 3px rgba(26,26,26,.1);
    box-shadow: 0 1px 3px rgba(26,26,26,.1);
    -webkit-box-sizing: border-box;
}
.panel-default > .panel-heading {
    background-color: #f6f6f6;
    border-color: #e9ecef;
}
.panel-default > .panel-heading {
    color: #454d55;
    font-size: 14px;
    border-bottom: 1px solid #dee2e6;
    border-bottom-color: rgb(222, 226, 230);
    background-image: linear-gradient(0deg, #e9ecef, #f8f9fa);
}
.panel-heading:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
.panel-default {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
}
.panel-heading:after {
    content: "";
    background-color: #282828;
    left: 1.5rem;
    width: 5rem;
    height: 1px;
    top: 40px;
    position: absolute;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}
.panel-heading:hover::after {
    width: 8rem;
}
.links .tags a {
    opacity: 0.80;
    filter: alpha(opacity=80);
    color: #428BCA;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 0 6px;
    line-height: 21px
}
.links .tags a:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}
.links .tags a:nth-child(9n) {
    color: #4A4A4A;
}
.links .tags a:nth-child(9n+1) {
    color: #428BCA;
}
.links .tags a:nth-child(9n+2) {
    color: #5CB85C;
}
.links .tags a:nth-child(9n+3) {
    color: #D9534F;
}
.links .tags a:nth-child(9n+4) {
    color: #567E95;
}
.links .tags a:nth-child(9n+5) {
    color: #B433FF;
}
.links .tags a:nth-child(9n+6) {
    color: #00ABA9;
}
.links .tags a:nth-child(9n+7) {
    color: #B37333;
}
.links .tags a:nth-child(9n+8) {
    color: #FF6600;
}
.vip-badge {
    display: inline-block;
    background-color: #0a66b9;
    background: linear-gradient(135deg, #1e6bc7, #0a58a0);
    color: white;
    font-weight: 700;
    font-size: 0.85em;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: transform 0.1s ease, box-shadow 0.2s;
    white-space: nowrap;
}
/*news*/
.news .media {
    height: 125px;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}
.news .media .media-top img{
    width: 160px;
    height: 125px;
}
.news .media .media-heading {
    font-size: 15px;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    font-weight: bold;
    margin: 0;
}
.news .media .media-content {
    height: 73px;
    overflow: hidden;
}
.news .media .media-footer {
    height: 20px;
    line-height: 20px;
    color: #666;
}
.news .media .media-footer a{
    color: #666;
}
.news_title {
    color: #454d55;
    font-size: 14px;
    border-bottom: 1px solid #dee2e6;
    border-bottom-color: rgb(222, 226, 230);
    padding: 0 15px;
    border-radius: 0;
    background: #F9FAFB;
    background: linear-gradient(#FDFDFD, #F6F8F9);
    background: -webkit-linear-gradient(#FDFDFD, #F6F8F9);
    background: -moz-linear-gradient(#FDFDFD, #F6F8F9);
    background-position-x: 0%;
    background-position-y: 0%;
    background-image: -moz-linear-gradient(rgb(253, 253, 253), rgb(246, 248, 249));
    background-size: auto;
    background-image: url(../img/bg_banner.png);
    background-position: center;
    overflow-x: hidden;
    position: relative;
    background-size: cover;
}
.news_title h3{
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 6px;
    padding-bottom: 8px;

}
.news_title p{
    font-size: 12px;
    margin-bottom: 5px;
}
/*whois*/
/* 快速示例 - 左对齐 */
.examples {
    margin: 15px 0 10px 0;
    font-size: 15px;
    color: #4a5f7a;
    text-align: left;
    padding-left: 5px;
}
.examples span {
    font-weight: 450;
    margin-right: 8px;
}
.examples a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 12px 0 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.1s;
    cursor: pointer;
    padding-bottom: 2px;
    display: inline-block;
}
.examples a:hover {
    border-bottom-color: #0066cc;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    display: none;
}
.loading .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 结果区域 */
.result-section {
    /*display: none;*/
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 结果卡片 */
.result-card {

}
.whois-item {
    display: flex;
    padding: 5px 10px;
    align-items: flex-start;
}
.whois-label {
    width: 80px;
    font-weight: 600;
    color: #2f405c;
    flex-shrink: 0;
    text-align: right;
}
.whois-value {
    flex: 1;
    color: #333;
    font-weight: bold;
    word-break: break-word;
}
.whois-value .badge {
    padding: 5px 10px;
    font-weight: normal;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
}
.whois-value .time-zone {
    font-size: 11px;
    color: #666;
    word-break: keep-all;
    white-space: pre;
    display: inline-block;
    line-height: 10px;
}
/*状态码*/
.bd101, .bd201, .bd601 {
    background: #ffc107;
}
.bd102 {
    background: #fd7e14;
}
.bd103 {
    background: #dc3545;
}
.bd202 {
    background: #17a2b8;
}
.bd300, .bd301, .bd302, .bd501 {
    background: #28a745;
}
.bd303 {
    background: #007bff;
}
.bd304 {
    background: #6f42c1;
}
.bd305 {
    background: #e83e8c;
}
.bd306 {
    background: #d63384;
}
.bd307 {
    background: #b02e7c;
}
.bd401, .bd0 {
    background: #6c757d;
}

/* 原始信息区域 */
.raw-whois {
    /*
    background: #f8fafd;
    color: #1e293b;
    */
    border: 1px solid #e2e8f2;
    padding: 15px;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 10px auto 0 auto;
    display: none;
    width: 98%;
    max-height: 300px;
    overflow: auto;
    background: #2d2d2d;
    color: #f8f8f2;
}

/* 显示原始WHOIS按钮 */
.toggle-raw-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding-right: 5px;
}
/* 错误提示 */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}
/*历史*/
.history-list {
    min-width: 130px;
}
.history-list li {
    text-decoration: none;
    margin: 0;
    border-bottom: 1px solid #ddd;
    padding: 6px 8px;

    font-size: 14px;
    cursor: pointer;
    color: #1e2a3a;
}
.history-list li:hover {
    border-bottom-color: #0066cc;
}

@media (max-width: 768px) {
    .panel-body {
        padding: 10px 5px;
    }
    .whois-item {
        padding: 5px 10px;
    }
    .whois-label {
        width: 75px;
    }
}