/* Professional Dashboard Styles - Global Link Agency */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
}

/* Professional Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header strong {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

nav a {
    margin-right: 16px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

nav a:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Language Dropdown */
.lang {
    position: relative;
    display: inline-block;
}

.lang-selector {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-selector:hover {
    border-color: #94a3b8;
}

.lang-selector::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.2s ease;
}

.lang-selector.open::after {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    z-index: 1001;
    display: none;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f9fafb;
    color: #1f2937;
}

.lang-option.active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 0 24px;
    transition: margin-top 0.3s ease;
}

/* Professional Cards */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.card h1 {
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.card h2 {
    color: #334155;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card h3 {
    color: #334155;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 16px;
}

/* Professional Buttons */
.btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn.secondary {
    background: #64748b;
    color: white;
}

.btn.secondary:hover {
    background: #475569;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Form Fields */
.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 16px;
    transition: all 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Professional Status Indicators */
.status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.pending {
    background: #fef3c7;
    color: #92400e;
}

.status.paid {
    background: #d1fae5;
    color: #065f46;
}

/* Professional WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
}

/* Contact Info Box */
.contact-box {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.contact-box h3 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 18px;
}

.contact-box p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
}

/* Dashboard Specific Styles */
.dashboard-card {
    position: relative;
}

.dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-status-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-btn-container {
    margin-top: 8px;
}

/* Role Information Section */
.role-info-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.role-info-section p {
    margin: 0 0 10px 0;
}

.role-info-section span {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.role-info-section span.admin {
    background: #fee2e2;
    color: #dc2626;
}

.role-info-section span.manager {
    background: #fef3c7;
    color: #d97706;
}

/* Free Tools Card */
.free-tools-card {
    margin-top: 24px;
    padding: 24px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 4px solid #22c55e;
}

.free-tools-card h3 {
    color: #15803d;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.free-tools-description {
    color: #15803d;
    margin-bottom: 20px;
    font-size: 16px;
}

.free-tools-advanced {
    margin-bottom: 0;
}

/* Paid Benefits Card */
.paid-benefits-card {
    margin-top: 24px;
    padding: 24px;
    background: #fffbeb;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.paid-benefits-card h3 {
    color: #92400e;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.paid-benefits-description {
    color: #92400e;
    margin-bottom: 16px;
    font-size: 16px;
}

.paid-benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    font-weight: 500;
    color: #92400e;
}

.benefit-icon {
    font-size: 18px;
}

/* Next Steps Card */
.next-steps-card {
    margin-top: 16px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.next-steps-card h3 {
    color: #1e293b;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.next-steps-description {
    color: #64748b;
    margin-bottom: 16px;
    font-size: 16px;
}

/* Dashboard Links Grid */
.dashboard-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 0;
}

.dashboard-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-height: 56px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.dashboard-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.dashboard-link.basic-link {
    background: #ffffff;
    border-color: #e2e8f0;
}

.dashboard-link.advanced-link {
    font-weight: 600;
    padding: 20px;
    min-height: 64px;
}

.dashboard-link.advanced-link.blue {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.dashboard-link.advanced-link.blue:hover {
    background: #dbeafe;
    border-color: #2563eb;
}

.dashboard-link.advanced-link.green {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #15803d;
}

.dashboard-link.advanced-link.green:hover {
    background: #dcfce7;
    border-color: #16a34a;
}

.dashboard-link.advanced-link.purple {
    background: #faf5ff;
    border-color: #a855f7;
    color: #7c3aed;
}

.dashboard-link.advanced-link.purple:hover {
    background: #f3e8ff;
    border-color: #9333ea;
}

.dashboard-link.advanced-link.orange {
    background: #fff7ed;
    border-color: #f97316;
    color: #ea580c;
}

.dashboard-link.advanced-link.orange:hover {
    background: #fed7aa;
    border-color: #ea580c;
}

.dashboard-link.advanced-link.red {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.dashboard-link.advanced-link.red:hover {
    background: #fee2e2;
    border-color: #dc2626;
}

.dashboard-link.advanced-link.teal {
    background: #f0fdfa;
    border-color: #14b8a6;
    color: #0f766e;
}

.dashboard-link.advanced-link.teal:hover {
    background: #ccfbf1;
    border-color: #0d9488;
}

.dashboard-link.advanced-link.indigo {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca;
}

.dashboard-link.advanced-link.indigo:hover {
    background: #e0e7ff;
    border-color: #4f46e5;
}

/* Featured Job Search Link */
.dashboard-link.featured-link {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    grid-column: 1 / -1;
}

.dashboard-link.featured-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Free Tools Grid */
.free-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 0;
}

/* Institution Info */
.institution-info {
    margin-top: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #64748b;
}

.institution-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* Payment Instructions Card */
.payment-instructions-card {
    margin-top: 20px;
    padding: 20px;
    background: #fffbeb;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
}

.payment-instructions-card h3 {
    color: #92400e;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.payment-instructions-text {
    color: #92400e;
    margin-bottom: 16px;
    font-size: 16px;
}

.whatsapp-button-container {
    margin-bottom: 16px;
}

.payment-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.payment-whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.payment-important {
    color: #92400e;
    margin: 0;
    font-size: 14px;
}

/* OPT/CPT Information Card */
.opt-cpt-card {
    margin-top: 24px;
    padding: 24px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.opt-cpt-card h3 {
    color: #0c4a6e;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.opt-cpt-description {
    color: #0c4a6e;
    margin-bottom: 16px;
    font-size: 16px;
}

.opt-cpt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.opt-cpt-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.opt-cpt-item h4 {
    margin: 0 0 8px 0;
    color: #0c4a6e;
    font-size: 16px;
}

.opt-cpt-item p {
    margin: 0;
    color: #0369a1;
    font-size: 14px;
}

.opt-cpt-learn-more {
    color: #0c4a6e;
    margin: 12px 0 0 0;
    font-weight: 600;
}

.opt-cpt-button-container {
    margin: 8px 0 0 0;
}

.opt-cpt-btn {
    display: inline-block;
    text-decoration: none;
    background: #0ea5e9;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.opt-cpt-btn:hover {
    background: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        gap: 12px;
    }
    
    header > div:first-child {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
    }
    
    header > div:first-child img {
        height: 32px;
    }
    
    header > div:first-child strong {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        padding: 16px;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav.show {
        display: flex;
    }
    
    nav a {
        padding: 12px 16px;
        font-size: 16px;
        text-align: center;
        border-radius: 6px;
        background: #f8fafc;
        color: #64748b;
        font-weight: 600;
    }
    
    nav a:hover {
        background: #f1f5f9;
        color: #334155;
    }
    
    .lang {
        order: 2;
    }
    
    .lang-selector {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 60px;
    }
    
    .lang-dropdown {
        right: 0;
        left: auto;
        min-width: 100px;
    }
    
    .lang-option {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    main {
        margin: 80px auto 20px auto;
        padding: 0 16px;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .card h1 {
        font-size: 24px;
    }
    
    .card h2 {
        font-size: 20px;
    }
    
    .dashboard-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .dashboard-link {
        padding: 16px;
        font-size: 14px;
        min-height: 56px;
    }
    
    .opt-cpt-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .opt-cpt-item {
        padding: 12px;
    }
    
    .opt-cpt-item h4 {
        font-size: 14px;
    }
    
    .opt-cpt-item p {
        font-size: 13px;
    }
    
    .payment-instructions-card {
        padding: 16px;
    }
    
    .payment-instructions-card h3 {
        font-size: 16px;
    }
    
    .payment-instructions-text {
        font-size: 14px;
    }
    
    .payment-whatsapp-btn {
        padding: 16px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .next-steps-card {
        padding: 16px;
    }
    
    .next-steps-card h3 {
        font-size: 16px;
    }
    
    .next-steps-description {
        font-size: 14px;
    }
    
    .opt-cpt-card {
        padding: 16px;
    }
    
    .opt-cpt-card h3 {
        font-size: 16px;
    }
    
    .opt-cpt-description {
        font-size: 14px;
    }
    
    .opt-cpt-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .free-tools-card,
    .paid-benefits-card {
        padding: 16px;
        margin-top: 16px;
    }
    
    .free-tools-card h3,
    .paid-benefits-card h3 {
        font-size: 16px;
    }
    
    .free-tools-description,
    .paid-benefits-description {
        font-size: 14px;
    }
    
    .paid-benefits-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .benefit-item {
        padding: 10px;
        font-size: 14px;
    }
    
    .free-tools-advanced .dashboard-links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .free-tools-advanced .dashboard-link {
        font-size: 14px;
        padding: 14px 16px;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 12px;
    }
    
    header > div:first-child strong {
        font-size: 14px;
    }
    
    header > div:first-child img {
        height: 28px;
    }
    
    .lang-selector {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 50px;
    }
    
    main {
        margin: 70px auto 20px auto;
        padding: 0 12px;
    }
    
    .card {
        padding: 16px;
    }
    
    .card h1 {
        font-size: 22px;
    }
    
    .card h2 {
        font-size: 18px;
    }
}

/* Ad Banner - News Ticker Style */
.ad-banner-ticker {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: block !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-bottom: 2px solid #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    height: 50px;
}

.ad-banner-ticker.show {
    opacity: 1;
    pointer-events: auto;
}

.ad-banner-ticker[style*="display: none"],
.ad-banner-ticker[style*="visibility: hidden"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.ad-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    font-size: 20px;
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ad-ticker-container {
    position: relative;
    overflow: hidden;
    height: 50px;
    margin-left: 50px;
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.ad-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 120s linear infinite; /* Slower for better readability of all ads */
    will-change: transform;
}

.ad-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
}

.ad-ticker-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    padding: 0 20px;
    font-weight: 300;
}

.ad-ticker-title {
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-ticker-content {
    color: #e0e7ff;
}

.ad-ticker-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ad-ticker-link:hover {
    color: #fcd34d;
    text-decoration: underline;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fixed link inside ticker (right side) */
.ad-ticker-fixed-link {
    position: relative;
    flex-shrink: 0;
    padding: 0 15px;
    z-index: 1000;
    white-space: nowrap;
    margin-right: 50px; /* Space for close button */
}

.ad-ticker-fixed-button {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
    transition: all 0.3s ease;
    border: 2px solid #fbbf24;
    line-height: 1.2;
}

.ad-ticker-fixed-button:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.6);
    color: #0f172a;
}

.ad-banner-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ad-banner-close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
    font-weight: 300;
    z-index: 1001;
}

.ad-banner-close:hover {
    background: rgba(239, 68, 68, 0.8);
    color: #ffffff;
    border-color: #ef4444;
    transform: translateY(-50%) scale(1.1);
}

.ad-banner-header {
    margin-bottom: 12px;
}

.ad-banner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ad-banner-body {
    color: #1e293b;
}

.ad-banner-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

.ad-banner-text strong {
    color: #1e293b;
    font-weight: 600;
}

.ad-banner-features {
    margin-bottom: 16px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.ad-banner-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.ad-banner-feature:last-child {
    margin-bottom: 0;
}

.ad-banner-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ad-banner-feature strong {
    color: #1e293b;
    font-weight: 600;
}

.ad-banner-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.ad-banner-cta-text {
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
    font-weight: 500;
}

.ad-banner-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.ad-banner-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.ad-banner-footer {
    margin-top: 12px;
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}

/* Carousel Navigation Dots */
.ad-banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px;
}

.ad-banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-banner-dot:hover {
    background: #94a3b8;
    transform: scale(1.2);
}

.ad-banner-dot.active {
    background: #3b82f6;
    width: 24px;
    border-radius: 5px;
}

.ad-banner-image-container {
    margin-bottom: 16px;
    text-align: center;
}

.ad-banner-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    object-fit: contain;
    background: #f8fafc;
}

.ad-banner-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

.ad-banner-text strong {
    color: #1e293b;
    font-weight: 600;
}

.ad-banner-text em {
    font-style: italic;
}

.ad-banner-text br {
    line-height: 1.8;
}

/* Responsive adjustments for ad ticker */
@media (max-width: 768px) {
    .ad-banner-ticker {
        top: 70px;
        height: 45px;
    }
    
    .ad-ticker-label {
        width: 40px;
        font-size: 16px;
    }
    
    .ad-ticker-container {
        height: 45px;
        margin-left: 40px;
    }
    
    .ad-ticker-item {
        font-size: 12px;
        gap: 12px;
        padding: 0 25px;
    }
    
    .ad-banner-close {
        width: 24px;
        height: 24px;
        font-size: 16px;
        right: 8px;
    }
    
    .ad-ticker-fixed-link {
        margin-right: 40px;
        padding: 0 10px;
    }
    
    .ad-ticker-fixed-button {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .ad-banner-content {
        padding: 16px 20px;
    }
    
    .ad-banner-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .ad-banner-text {
        font-size: 13px;
    }
    
    .ad-banner-feature {
        font-size: 12px;
    }
    
    .ad-banner-button {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
        display: block;
    }
    
    .ad-banner-cta-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ad-banner-ticker {
        top: 60px;
        height: 40px;
    }
    
    .ad-ticker-label {
        width: 35px;
        font-size: 14px;
    }
    
    .ad-ticker-container {
        height: 40px;
        margin-left: 35px;
    }
    
    .ad-ticker-item {
        font-size: 11px;
        gap: 8px;
        padding: 0 15px;
    }
    
    .ad-ticker-title {
        font-size: 10px;
    }
    
    .ad-banner-close {
        width: 22px;
        height: 22px;
        font-size: 14px;
        right: 6px;
    }
    
    .ad-ticker-fixed-link {
        margin-right: 35px;
        padding: 0 8px;
    }
    
    .ad-ticker-fixed-button {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .ad-banner-content {
        padding: 14px 16px;
    }
    
    .ad-banner-close {
        width: 24px;
        height: 24px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }
    
    .ad-banner-badge {
        font-size: 11px;
        padding: 4px 10px;
        display: block;
        text-align: center;
    }
    
    .ad-banner-text {
        font-size: 12px;
    }
    
    .ad-banner-features {
        padding: 10px;
    }
    
    .ad-banner-feature {
        font-size: 11px;
        flex-direction: column;
        gap: 6px;
    }
    
    .ad-banner-icon {
        font-size: 16px;
    }
}
