.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../../img/banner2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../img/banner2.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 50vh;
    }

    .hero-section::before {
        background-attachment: scroll;
    }
}

.whois-form {
    background: white;
    border-radius: 10px;
    padding: 40px;
    margin-top: -50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.form-label {
    font-weight: bold;
    color: #eb6c1f;
    font-size: 1.1rem;
}

.form-control-lg {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-size: 1.1rem;
}

.form-control-lg:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.btn-query {
    background: linear-gradient(45deg, #eb6c1f, #fd7e14);
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-query:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-image {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 4px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    min-width: 60px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.captcha-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    right: -5px;
    height: 1px;
    background: #007bff;
    transform: rotate(-2deg);
    z-index: 1;
    opacity: 0.6;
}

.captcha-refresh {
    background: #6c757d;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.captcha-refresh:hover {
    background: #5a6268;
}

.result-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-top: 30px;
}

.result-item {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: bold;
    color: #495057;
    min-width: 120px;
}

.result-value {
    color: #6c757d;
    word-break: break-all;
}

.footer {
    background: #343a40;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer .list-unstyled li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.footer .list-unstyled li:last-child {
    margin-bottom: 0;
}

.navbar-brand img {
    max-height: 30px;
}

.nav-link.active {
    color: #eb6c1f !important;
    font-weight: bold;
}
.img-fluid{
    max-height: 30px;
}

/* 自定义下拉框样式 */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 15px 40px 15px 15px;
    font-size: 1.1rem;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    border-radius: 0 0.375rem 0.375rem 0;
    position: relative;
}

.custom-select-text {
    flex: 1;
    color: #ff6b35;
    font-weight: 500;
}

.custom-select-icon {
    color: #6c757d;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    margin-left: 8px;
}

.custom-select.active .custom-select-icon {
    transform: rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.custom-select-dropdown.show {
    display: block;
}

.custom-select-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
    font-size: 1rem;
}

.custom-select-option:hover {
    background: #f8f9fa;
}

.custom-select-option.selected {
    color: #ff6b35;
    background: transparent;
    font-weight: 500;
}

.custom-select-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.custom-select-option:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
