/*---------------------
  WHOIS PAGE BANNER STYLES
  Used in: whois page
-----------------------*/

/* Modern whois banner section with gradient background */
.modern-whois-banner-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(235, 43, 99, 0.9)), url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 40px;
}

/* Banner background decorative elements */
.whois-banner-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

/* Banner container positioning */
.whois-banner-container {
    position: relative;
    z-index: 2;
}

/* WHOIS banner content wrapper */
.whois-banner-content-modern {
    color: white;
    text-align: center;
    padding: 60px 0;
}

/* WHOIS badge styling */
.whois-badge {
    margin-bottom: 24px;
}

.whois-badge span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* WHOIS main heading with gradient text */
.whois-main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WHOIS description text */
.whois-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* WHOIS form wrapper with glass effect */
.whois-form-warp {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: auto;
    margin-right: auto;
}

/* WHOIS search form layout */
.whois-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* WHOIS search input field */
.whois-search-input {
    flex: 1;
    min-width: 300px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    outline: none;
}

/* WHOIS search button */
.whois-search-btn {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    color: #1e293b;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* WHOIS search button hover effect */
.whois-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* WHOIS trust message */
.whois-trust-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whois-trust-message span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Trust item styling */
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Register domain modern styling */
.register-domain-modern {
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    text-align: center;
}

.availability-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #10b981;
}

.register-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.register-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* WHOIS Results Section */
.whois-results-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.whois-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.whois-results-header h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* WHOIS Info Modern Grid */
.whois-info-modern {
    max-width: 1000px;
    margin: 0 auto;
}

.whois-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.whois-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.whois-info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.whois-info-card.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: white;
    word-break: break-all;
}

/* No info message */
.no-info-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.no-info-message svg {
    margin-bottom: 20px;
}

.no-info-message h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.no-info-message p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* RESPONSIVE DESIGN FOR WHOIS BANNER */

/* Tablet and small desktop (768px and below) */
@media (max-width: 768px) {
    .modern-whois-banner-section {
        min-height: 70vh !important;
        background-attachment: scroll !important;
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }
    
    .whois-banner-content-modern {
        padding: 40px 0 !important;
    }
    
    .whois-main-heading {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .whois-description {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
    }
    
    .whois-form-warp {
        padding: 20px !important;
    }
    
    .whois-search-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .whois-search-input {
        min-width: unset !important;
        margin-bottom: 12px !important;
        padding: 20px 24px !important;
        font-size: 18px !important;
    }
    
    .whois-search-btn {
        width: 100% !important;
        padding: 20px 32px !important;
        font-size: 18px !important;
    }
    
    .whois-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .whois-results-header h2 {
        font-size: 2rem !important;
    }
}

/* Mobile devices (576px and below) */
@media (max-width: 576px) {
    .modern-whois-banner-section {
        min-height: 60vh !important;
        padding-top: 100px !important;
        padding-bottom: 30px !important;
    }
    
    .whois-banner-content-modern {
        padding: 30px 0 !important;
    }
    
    .whois-main-heading {
        font-size: 2rem !important;
    }
    
    .whois-form-warp {
        padding: 15px !important;
    }
    
    .whois-search-input {
        padding: 18px 20px !important;
        font-size: 16px !important;
    }
    
    .whois-search-btn {
        padding: 18px 24px !important;
        font-size: 16px !important;
    }
    
    .whois-info-card {
        padding: 16px !important;
    }
    
    .availability-message {
        font-size: 16px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .register-btn {
        padding: 14px 24px !important;
        font-size: 14px !important;
    }
}

/* Small mobile devices (480px and below) */
@media (max-width: 480px) {
    .modern-whois-banner-section {
        min-height: 55vh !important;
        padding-top: 90px !important;
        padding-bottom: 20px !important;
    }
    
    .whois-banner-content-modern {
        padding: 20px 0 !important;
    }
    
    .whois-main-heading {
        font-size: 1.75rem !important;
    }
    
    .whois-form-warp {
        padding: 12px !important;
    }
    
    .whois-search-input {
        padding: 16px 18px !important;
        font-size: 15px !important;
    }
    
    .whois-search-btn {
        padding: 16px 20px !important;
        font-size: 15px !important;
    }
    
    .whois-info-card {
        padding: 14px !important;
    }
    
    .info-value {
        font-size: 14px !important;
    }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
    .whois-banner-content-modern {
        padding: 15px 0 !important;
    }
    
    .whois-main-heading {
        font-size: 1.5rem !important;
    }
    
    .whois-form-warp {
        padding: 10px !important;
    }
}

/* END OF WHOIS BANNER STYLES */