/* ====================================
   WALZ DAYCARE - Custom Overrides
   Uses Studykids template as base
   Navy Blue & Cyan Color Theme
   ==================================== */

/* === COLOR OVERRIDES === */
:root {
    --color-primary: #003F7F !important;      /* Navy Blue */
    --color-primary-2: #003F7F !important;    /* Navy Blue */
    --color-primary-3: #00A6D6 !important;    /* Cyan */
    --color-primary-4: #0078B3 !important;    /* Mid Blue */
    --color-primary-5: #005A8C !important;    /* Dark Blue */
    --navy-blue: #003F7F;
    --cyan-blue: #00A6D6;
    --light-cyan: #4FC3E8;
}

/* === COMIC SANS FONT FIX === */
/* Use Comic Neue as web font fallback, then Comic Sans MS, then system fonts */
:root {
    --walz-comic-font: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', 'Comic Sans', cursive, sans-serif;
}

/* === LOGO === */
.walz-logo {
    font-family: var(--walz-comic-font);
    font-size: 3rem;
    font-weight: 900;
    color: #003F7F;
    display: inline-block;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

/* === NAVIGATION LINKS === */
.nav-link {
    font-family: var(--walz-comic-font) !important;
    font-weight: 700 !important;
    font-size: 1.9rem !important;
}

/* === HEADER BUTTON === */
.header-right-area-one .rts-btn {
    font-family: var(--walz-comic-font) !important;
}

/* === TITLE IMAGE SVG - Make larger === */
.pre-title img {
    width: auto !important;
    height: 60px !important;
    max-width: none !important;
}

/* === WAVY TEXT EFFECT === */
.walz-wavy-text {
    display: inline-block;
    animation: walz-wave 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes walz-wave {
    0%, 100% {
        transform: perspective(500px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(500px) rotateY(-5deg) rotateX(2deg);
    }
    50% {
        transform: perspective(500px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: perspective(500px) rotateY(5deg) rotateX(-2deg);
    }
}

/* === PRIMARY BUTTONS - WHITE TEXT === */
.rts-btn.btn-primary {
    color: white !important;
}

/* === ENROLLMENT BUTTON HOVER === */
.walz-enroll-btn:hover {
    color: #003F7F !important;
}

/* === BANNER CUSTOMIZATION === */
.walz-banner {
    background: linear-gradient(135deg, #003F7F 0%, #00A6D6 100%) !important;
}

/* Add padding above hero image */
.banner-right-img {
    padding-top: 150px !important;
    padding-bottom: -50px !important;
}

/* Override for enrollment section - white background */
#enroll.walz-banner {
    background: var(--color-white) !important;
}

/* Override for roster section - white background */
#roster {
    background: var(--color-white) !important;
}

#roster .section-title,
#roster .pre-title,
#roster .desc {
    color: var(--color-heading-1) !important;
}

.walz-banner .banner-content-one {
    padding-top: 200px !important;
}

@media (max-width: 991px) {
    .walz-banner .banner-content-one {
        padding-top: 20px !important;
    }
}

.walz-banner .title-banner,
.walz-banner .disc {
    color: white !important;
}

.walz-banner .title-banner span {
    color: white; /* Default white for all spans */
}

.walz-banner .walz-finally {
    color: #00A6D6 !important; /* Light blue (cyan) for "Finally!" */
}

.walz-banner .walz-highlight {
    font-size: 1em; /* Same size as rest of heading */
    color: #00A6D6; /* Light blue (cyan) */
}

/* === INVESTIGATION BADGE === */
.walz-badge {
    display: inline-block;
    background: #DC2626;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(220, 38, 38, 0.6); }
}

/* === COUNTER BOX === */
/* Counter now uses template's .counter-wrapper styling from template */

/* === STAT CARDS === */
.walz-stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.walz-stat-card:hover {
    transform: translateY(-5px);
}

.walz-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1F2937;
    line-height: 1;
}

.walz-stat-card .stat-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 600;
    margin-top: 10px;
}

.stat-purple { border-left: 4px solid #4FA9D8; }
.stat-red { border-left: 4px solid #DC2626; }
.stat-green { border-left: 4px solid #10B981; }
.stat-orange { border-left: 4px solid #F97316; }

/* === EMPTY PLAYGROUND CARD === */
.walz-empty-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.empty-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.empty-text {
    color: #6B7280;
}

.empty-emojis {
    font-size: 2rem;
    margin-top: 15px;
}

/* === TRUST BADGES === */
.walz-trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === SECONDARY BUTTON === */
.walz-secondary-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.walz-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-3px);
    color: white !important;
}

/* === BANNER BUTTON AREA === */
.banner-btn {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}


/* === TIMELINE CARD === */
.walz-timeline-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.walz-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-item {
    padding: 15px 0;
    border-bottom: 2px solid #F3F4F6;
    position: relative;
    padding-left: 30px;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #DC2626;
    border-radius: 50%;
}

.timeline-date {
    font-weight: 700;
    color: #DC2626;
    margin-bottom: 5px;
}

.timeline-text {
    color: #6B7280;
}

/* === TOP DONOR TESTIMONIAL CARD === */
.walz-top-donor-testimonial {
    background: white;
    border-radius: 0 !important;
    padding: 20px 25px;
    box-shadow: none !important;
    text-align: left;
    position: relative;
    border: 2px solid var(--color-heading-1);
    border-width: 2px 5px 5px 2px;
}

.top-donor-decorations {
    position: relative;
    margin-bottom: 20px;
}

.decoration {
    font-size: 3rem;
    position: absolute;
    top: -40px;
}

.decoration.left {
    left: 20px;
}

.decoration.right {
    right: 20px;
}

.top-donor-header {
    margin-bottom: 30px;
}

.top-donor-header .donor-name {
    font-size: 2rem;
    font-weight: 900;
    color: #003F7F;
    margin-bottom: 10px;
}

.top-donor-header .donor-title {
    font-size: 1rem;
    font-weight: 700;
    color: #00A6D6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.donor-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1F2937;
    margin-bottom: 30px;
    font-style: italic;
}

.donor-stats {
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.stat-icon {
    font-size: 1.5rem;
    color: #FCD34D;
}

.donor-amount-large {
    font-size: 3rem;
    font-weight: 900;
    color: #00A6D6;
    font-family: 'Courier New', monospace;
}

/* === DONOR CLASS CARDS === */
.walz-donor-class-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 63, 127, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #E5E7EB;
}

.walz-donor-class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 166, 214, 0.3);
    border-color: #00A6D6;
}

.card-header-donor {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #003F7F 0%, #00A6D6 100%);
}

.donor-icon {
    font-size: 2.5rem;
}

.donor-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #003F7F;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.donor-name-card {
    color: #1F2937;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 20px 20px 15px 20px;
}

.donor-message-card {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 20px 15px 20px;
    flex-grow: 1;
}

.donor-meta {
    padding: 0 20px 15px 20px;
}

.donor-time-badge {
    color: #9CA3AF;
    font-size: 0.85rem;
}

.donor-amount-card {
    background: linear-gradient(135deg, #003F7F 0%, #00A6D6 100%);
    padding: 15px 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-align: center;
    font-family: 'Courier New', monospace;
}

/* === CONTRIBUTE BOX === */
.walz-contribute-box {
    background: linear-gradient(135deg, #003F7F 0%, #00A6D6 100%);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 30px 80px rgba(0, 63, 127, 0.4);
}

/* === AMOUNT BUTTONS === */
.walz-amount-btn {
    background: var(--color-white) !important;
    border: 2px solid var(--color-heading-1) !important;
    border-width: 2px 5px 5px 2px !important;
    border-radius: 0 !important;
    color: var(--color-heading-1) !important;
    font-family: var(--walz-comic-font) !important;
    padding: 20px;
    font-weight: 700;
    font-size: 1.8rem !important;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    position: relative;
}

.walz-amount-btn:hover {
    background: rgba(252, 211, 77, 0.2) !important;
    border-color: var(--color-heading-1) !important;
}

.walz-amount-btn.active {
    background: rgba(0, 166, 214, 0.15) !important;
    border-color: #00A6D6 !important;
}

.walz-amount-btn div {
    font-family: var(--walz-comic-font) !important;
    font-size: 1.3rem !important;
}

/* === FORM INPUTS === */
.walz-input,
.walz-textarea {
    width: 100%;
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.walz-input::placeholder,
.walz-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.walz-textarea {
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .banner-area-one {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .banner-area-one .banner-one-inner-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .banner-area-one .banner-right-img {
        margin-top: 20px !important;
        padding-top: 0 !important;
    }
    
    .banner-area-one .banner-right-img img {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    
    .walz-contribute-box {
        padding: 40px 20px;
    }
    
    .donor-amount-large {
        font-size: 2.2rem;
    }
    
    .donor-quote {
        font-size: 1rem;
    }
}
.walz-facts-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

#facts .walz-facts-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.walz-disclaimer {
    background: #FEF3C7;
    border: 4px solid #F59E0B;
    padding: 20px;
    border-radius: 8px;
}

#facts .walz-disclaimer {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 4px solid white !important;
}

.walz-disclaimer h5 {
    font-weight: 800;
    color: #92400E;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.walz-disclaimer p {
    color: #92400E;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 600;
}

#facts .walz-disclaimer h5,
#facts .walz-disclaimer p {
    color: white !important;
}

.walz-facts-list {
    color: #6B7280;
    line-height: 1.8;
}

#facts .walz-facts-list {
    color: rgba(255, 255, 255, 0.95) !important;
}

.walz-legal-notice {
    background: transparent !important;
    padding: 20px;
    border-radius: 8px;
}

.walz-legal-notice p {
    color: #1E40AF;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .banner-area-one {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .banner-area-one .banner-one-inner-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .banner-area-one .banner-right-img {
        margin-top: 20px !important;
        padding-top: 0 !important;
    }
    
    .banner-area-one .banner-right-img img {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    
    .walz-contribute-box {
        padding: 40px 20px;
    }
    
    .donor-amount-large {
        font-size: 2.2rem;
    }
    
    .donor-quote {
        font-size: 1rem;
    }
    
    .donor-name-card {
        font-size: 1.1rem;
    }
    
    .donor-amount-card {
        font-size: 1.5rem;
    }
    
    .walz-contribute-box {
        padding: 30px 15px;
    }
    
    .walz-amount-btn {
        padding: 15px 10px;
        font-size: 1rem;
    }
}

/* === ENROLLMENT MODAL - REDESIGNED FOR MOBILE & SCREENSHOTS === */
.walz-enrollment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    padding: 0;
}

.walz-enrollment-modal[style*="display: block"],
.walz-enrollment-modal.show {
    display: block;
}

.walz-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.walz-modal-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.walz-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    color: #1f2937;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.walz-modal-close:hover {
    transform: scale(1.1);
    background: #f3f4f6;
}

.walz-enrollment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.walz-card-header {
    background: linear-gradient(135deg, #003F7F 0%, #00A6D6 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.walz-card-emoji {
    font-size: 60px;
    margin-bottom: 12px;
    position: relative;
}

.walz-card-title {
    color: white;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 8px;
    position: relative;
    font-family: var(--walz-comic-font);
}

.walz-card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    position: relative;
}

/* Body */
.walz-card-body {
    padding: 25px 20px;
}

.walz-card-badge {
    text-align: center;
    margin-bottom: 20px;
}

.walz-card-badge span {
    display: inline-block;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    color: #78350F;
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Details */
.walz-card-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.walz-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.walz-detail-item {
    min-width: 0;
}

.walz-detail-label {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.walz-detail-value {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 800;
    word-break: break-word;
    font-family: var(--walz-comic-font) !important;
}

.walz-amount-highlight {
    color: #059669;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--walz-comic-font) !important;
}

.walz-student-id {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.walz-detail-divider {
    padding-top: 15px;
    border-top: 2px dashed #e5e7eb;
}

.walz-detail-divider .walz-detail-value {
    font-size: 1rem;
    font-weight: 700;
}

/* Funding Notice */
.walz-funding-notice {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid #3b82f6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.walz-funding-notice p {
    color: #1e3a8a;
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: var(--walz-comic-font) !important;
}

/* Actions */
.walz-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.walz-action-btn {
    background: #059669;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.walz-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.walz-share-btn {
    background: #000000;
}

.walz-card-footer-text {
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

/* Footer */
.walz-card-footer {
    background: #f3f4f6;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.walz-card-footer p {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .walz-modal-wrapper {
        padding: 10px;
        align-items: flex-start;
        padding-top: 60px;
        min-height: auto;
    }
    
    .walz-enrollment-card {
        border-radius: 15px;
        max-width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .walz-card-header {
        padding: 25px 15px;
    }
    
    .walz-card-emoji {
        font-size: 50px;
        margin-bottom: 10px;
    }
    
    .walz-card-title {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .walz-card-subtitle {
        font-size: 1rem;
    }
    
    .walz-card-body {
        padding: 20px 15px;
    }
    
    .walz-card-badge {
        margin-bottom: 15px;
    }
    
    .walz-card-badge span {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .walz-card-details {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .walz-detail-grid {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .walz-detail-label {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .walz-detail-value {
        font-size: 1rem;
    }
    
    .walz-amount-highlight {
        font-size: 1.3rem;
    }
    
    .walz-detail-divider {
        padding-top: 12px;
    }
    
    .walz-funding-notice {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .walz-funding-notice p {
        font-size: 0.85rem;
    }
    
    .walz-card-actions {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .walz-action-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .walz-card-footer-text {
        font-size: 0.8rem;
    }
    
    .walz-card-footer {
        padding: 12px;
    }
    
    .walz-card-footer p {
        font-size: 0.7rem;
    }
    
    .walz-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Very small screens - single column grid */
@media (max-width: 480px) {
    .walz-detail-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .walz-card-actions {
        grid-template-columns: 1fr;
    }
    
    .walz-card-title {
        font-size: 1.4rem;
    }
    
    .walz-card-emoji {
        font-size: 45px;
    }
}

/* === LOADING STATES === */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

/* === ACCESSIBILITY === */
.walz-amount-btn:focus,
.walz-input:focus {
    outline: 3px solid rgba(252, 211, 77, 0.5);
    outline-offset: 2px;
}

/* === ROSTER EVENT CARDS (CONDENSED) === */
#roster-cards-container .event-wrapper.inner {
    margin-bottom: 0;
}

#roster-cards-container .event-wrapper.inner .wrapper-inner {
    padding: 18px 25px 18px 20px !important;
    gap: 20px !important;
    min-height: auto;
}

#roster-cards-container .event-wrapper.inner .date {
    padding: 15px 16px !important;
    min-width: 100px;
    flex-shrink: 0;
}

#roster-cards-container .event-wrapper.inner .date span:first-child {
    font-size: 32px !important;
    line-height: 1 !important;
}

#roster-cards-container .event-wrapper.inner .content {
    flex: 1;
    min-width: 0;
}

#roster-cards-container .event-wrapper.inner .content .title {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

#roster-cards-container .event-wrapper.inner .meta-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

#roster-cards-container .event-wrapper.inner .meta-wrapper li {
    margin-bottom: 5px !important;
    font-size: 12px !important;
}

#roster-cards-container .event-wrapper.inner .meta-wrapper li:last-child {
    margin-bottom: 0 !important;
}

/* === LIVE ENROLLMENT FEED TIMESTAMPS === */
#live-enrollment-feed .meta-wrapper .desc.walz-timestamp,
#live-enrollment-feed .meta-wrapper .desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* === FACTS SECTION - LIGHT BLUE BACKGROUND WITH INVERTED TEXT === */
#facts {
    background: #00A6D6 !important;
}

#facts .section-title-area .pre-title,
#facts .section-title-area .section-title,
#facts .section-title-area .desc {
    color: white !important;
}

#facts .walz-facts-card,
#facts .walz-disclaimer,
#facts .walz-facts-list,
#facts .walz-legal-notice {
    color: white !important;
    background: transparent !important;
}

#facts .walz-facts-card h4,
#facts .walz-facts-card h5,
#facts .walz-disclaimer h5 {
    color: white !important;
}

#facts .walz-facts-card p,
#facts .walz-disclaimer p,
#facts .walz-facts-list li,
#facts .walz-legal-notice p {
    color: rgba(255, 255, 255, 0.95) !important;
}

#facts .walz-facts-list li strong {
    color: white !important;
}

#facts .walz-facts-card div[style*="background: #FEF3C7"] {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 4px solid white !important;
}

#facts .walz-facts-card div[style*="background: #FEF3C7"] h5,
#facts .walz-facts-card div[style*="background: #FEF3C7"] p {
    color: white !important;
}

@media (max-width: 768px) {
    #roster-cards-container .event-wrapper.inner .wrapper-inner {
        padding: 15px 20px 15px 15px !important;
        gap: 15px !important;
    }
    
    #roster-cards-container .event-wrapper.inner .date {
        padding: 12px 14px !important;
        min-width: 80px;
    }
    
    #roster-cards-container .event-wrapper.inner .date span:first-child {
        font-size: 28px !important;
    }
    
    #roster-cards-container .event-wrapper.inner .content .title {
        font-size: 0.95rem !important;
    }
}

/* === ABOUT SECTION - TWO COLUMN CARDS === */
.about-wrapper-two-col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .about-wrapper-two-col {
        grid-template-columns: 1fr;
    }
}

.about-wrapper-two-col .wrapper-list {
    margin-bottom: 0 !important;
}

/* === ENROLLMENT SECTION - CONTACT FORM STYLING === */
/* Use exact same styling as contact form - white background, black borders, no rounding */
#enroll .contact-form {
    background: var(--color-white) !important;
    border-radius: 0 !important;
    margin-left: 0;
}

#enroll .contact-form .heading-title {
    color: #00A6D6 !important;
}

#enroll .contact-form .form-inner {
    gap: 20px !important;
}

#enroll .contact-form .form-inner .single-input {
    background: var(--color-white) !important;
    border-color: var(--color-heading-1) !important;
    border-radius: 0 !important;
    border-width: 2px 5px 5px 2px !important;
    width: 48% !important;
}

#enroll .contact-form .form-inner .single-input.message {
    width: 100% !important;
}

#enroll .contact-form .form-inner .single-input input,
#enroll .contact-form .form-inner .single-input textarea {
    color: var(--color-heading-1) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#enroll .contact-form .form-inner .single-input input::placeholder,
#enroll .contact-form .form-inner .single-input textarea::placeholder {
    color: var(--color-heading-1) !important;
}

#enroll .contact-form .char-counter {
    color: var(--color-heading-1) !important;
}

#enroll .contact-form p {
    color: var(--color-heading-1) !important;
}

#enroll .contact-form .form-inner .single-input input:focus,
#enroll .contact-form .form-inner .single-input textarea:focus {
    outline: none !important;
}

@media (max-width: 576px) {
    #enroll .contact-form .form-inner .single-input {
        width: 100% !important;
    }
}

/* === STAR STUDENT CARD - GOLD GRADIENT === */
#roster .course-wrapper-style-2:first-child .wrapper-inner {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%) !important;
    border: 2px solid var(--color-heading-1) !important;
    border-width: 2px 5px 5px 2px !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .content {
    text-align: center !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .title,
#roster .course-wrapper-style-2:first-child .wrapper-inner .price,
#roster .course-wrapper-style-2:first-child .wrapper-inner .author-name {
    color: #78350F !important;
    text-align: center !important;
}

/* Larger font sizes for Star Student */
#roster .course-wrapper-style-2:first-child .wrapper-inner .title {
    font-size: 1.6rem !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .author-name {
    font-size: 1.3rem !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .price {
    font-size: 2.2rem !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .price {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 4px !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .author-name {
    width: 100% !important;
    margin: 0 0 0 0 !important;
    padding-bottom: 0 !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .walz-timestamp {
    color: rgba(120, 53, 15, 0.9) !important;
    font-size: 1.1rem !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .meta-wrapper {
    justify-content: center !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .author-area {
    align-items: center !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .author-area > div {
    justify-content: center !important;
}

/* Star Student message - larger and more prominent */
#roster .course-wrapper-style-2:first-child .wrapper-inner .walz-star-student-message {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 10px 0 15px 0 !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
}

#roster .course-wrapper-style-2:first-child .wrapper-inner .walz-star-student-message i {
    font-size: 1.4rem !important;
}

/* === LIVE ENROLLMENT FEED CARDS - BLUE BACKGROUNDS === */
/* Ensure live feed cards maintain their blue backgrounds (bg-one, bg-two, bg-three, bg-four) */
/* These use: bg-one (#003F7F), bg-two (#00A6D6), bg-three (#0078B3), bg-four (#005A8C) */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner.bg-one {
    background: var(--color-primary-2) !important; /* Navy Blue #003F7F */
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner.bg-two {
    background: var(--color-primary-3) !important; /* Cyan #00A6D6 */
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner.bg-three {
    background: var(--color-primary-4) !important; /* Mid Blue #0078B3 */
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner.bg-four {
    background: var(--color-primary-5) !important; /* Dark Blue #005A8C */
}

/* Ensure live feed cards have white text (not brown from Star Student) */
/* Universal selector for all text elements */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner * {
    color: white !important;
}

/* Specific overrides for different text elements to ensure white */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .title,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .price,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .author-name,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner p,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner span,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner h5,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner h4,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner h3,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner h6,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner li,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner div,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner i,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner a {
    color: white !important;
}

/* Timestamp can be slightly transparent for visual hierarchy */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .walz-timestamp,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Center all content in blue enrollment cards */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .content {
    text-align: center !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .title,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .price,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .author-name,
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner p {
    text-align: center !important;
}

/* Tight spacing for blue cards */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .title {
    margin-bottom: 4px !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .author-name {
    margin: 0 !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .price {
    margin-top: 2px !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .walz-timestamp {
    margin: 2px 0 0 0 !important;
}

/* Tight spacing for message boxes */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner p[style*="fa-comment"] {
    margin: 6px 0 8px 0 !important;
    padding: 10px !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .meta-wrapper {
    justify-content: center !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .author-area {
    align-items: center !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .author-area > div {
    justify-content: center !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner .price {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 4px !important;
}

/* Live feed message sections - larger and more prominent */
#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner p[style*="fa-comment"] {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 10px 0 15px 0 !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
}

#live-enrollment-feed .course-wrapper-style-2 .wrapper-inner p[style*="fa-comment"] i {
    font-size: 1.2rem !important;
}

/* === LIVE ENROLLMENT FEED - SCROLLABLE CONTAINER === */
/* Custom scrollbar for the live feed container */
#live-enrollment-feed {
    scroll-behavior: smooth;
}

/* Custom scrollbar styling for webkit browsers (Chrome, Safari, Edge) */
.walz-live-feed-scroll::-webkit-scrollbar {
    width: 8px;
}

.walz-live-feed-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.walz-live-feed-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 63, 127, 0.5);
    border-radius: 10px;
}

.walz-live-feed-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 63, 127, 0.7);
}

/* Firefox scrollbar styling */
.walz-live-feed-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 63, 127, 0.5) rgba(255, 255, 255, 0.1);
}

/* === JOURNALIST STEP CARDS === */
.walz-journalist-step-card {
    background: white;
    border: 2px solid white;
    border-width: 2px 5px 5px 2px;
    border-radius: 0;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.walz-journalist-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 63, 127, 0.25);
}

.walz-step-emoji {
    font-size: 4.5rem;
    margin-bottom: 20px;
    display: block;
}

.walz-step-title {
    color: #003F7F;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: var(--walz-comic-font);
    line-height: 1.3;
}

.walz-step-desc {
    color: #1F2937;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
}

@media (max-width: 991px) {
    .walz-step-emoji {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .walz-step-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .walz-step-desc {
        font-size: 1.1rem;
    }
    
    .walz-journalist-step-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .walz-step-emoji {
        font-size: 3rem;
    }
    
    .walz-step-title {
        font-size: 1.3rem;
    }
    
    .walz-step-desc {
        font-size: 1rem;
    }
    
    .walz-journalist-step-card {
        padding: 25px 20px;
    }
}

/* === JOURNALIST CTA CARD === */
.walz-journalist-cta-card {
    background: white;
    border: 2px solid white;
    border-width: 2px 5px 5px 2px;
    border-radius: 0;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.walz-cta-emoji {
    font-size: 5.5rem;
    margin-bottom: 25px;
    display: block;
}

.walz-cta-title {
    color: #003F7F;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--walz-comic-font);
    line-height: 1.3;
}

.walz-cta-desc {
    color: #1F2937;
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 700px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .walz-journalist-cta-card {
        padding: 50px 40px;
    }
    
    .walz-cta-emoji {
        font-size: 4.5rem;
        margin-bottom: 20px;
    }
    
    .walz-cta-title {
        font-size: 2rem;
        margin-bottom: 18px;
    }
    
    .walz-cta-desc {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .walz-journalist-cta-card {
        padding: 40px 30px;
    }
    
    .walz-cta-emoji {
        font-size: 4rem;
        margin-bottom: 18px;
    }
    
    .walz-cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .walz-cta-desc {
        font-size: 1.2rem;
    }
}

/* === JOURNALIST SUBMIT BUTTON === */
.walz-submit-btn {
    transition: background-color 0.3s ease !important;
}

.rts-btn.btn-primary.walz-submit-btn:hover,
button.walz-submit-btn:hover,
.walz-submit-btn:hover {
    background-color: #00A6D6 !important; /* Light blue on hover */
    background: #00A6D6 !important; /* Light blue on hover */
    color: white !important;
    border-color: #00A6D6 !important;
}

/* === JOURNALIST FORM PLACEHOLDERS - Larger text === */
#journalist-application-form input::placeholder,
#journalist-application-form textarea::placeholder {
    font-size: 1.2rem !important;
    opacity: 0.7;
}
