/* ==========================================================================
   INEXPENSIVECODERS WORKSHOP & BOOKING PORTAL STYLESHEET
   ========================================================================== */

:root {
    --ws-primary: #15803d;
    --ws-primary-light: #22c55e;
    --ws-primary-soft: rgba(34, 197, 94, 0.12);
    --ws-dark: #0f172a;
    --ws-dark-surface: #1e293b;
    --ws-slate: #334155;
    --ws-muted: #64748b;
    --ws-light: #f8fafc;
    --ws-border: #e2e8f0;
}

/* Ensure Crisp Solid White Navbar on Workshop Pages */
.ree-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

.ree-header .nav-list li a.menu-links {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.ree-header .nav-list li a.menu-links:hover {
    color: #15803d !important;
}

.ree-header .ree-btn0 {
    color: #ffffff !important;
}

/* Base Enhancements */
.ws-hero-badge {
    background: var(--ws-primary-soft);
    color: var(--ws-primary);
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

/* Countdown Timer Card */
.ws-countdown-box {
    background: #ffffff;
    border: 1.5px solid var(--ws-border);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    min-height: 70px !important;
    min-width: 290px;
    font-variant-numeric: tabular-nums !important;
}

.ws-countdown-unit {
    text-align: center;
    min-width: 36px !important;
}

.ws-countdown-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--ws-dark);
    line-height: 1;
}

.ws-countdown-lbl {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ws-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.ws-countdown-sep {
    font-size: 20px;
    font-weight: 900;
    color: var(--ws-primary);
    margin-bottom: 12px;
}

/* Seat Availability Meter */
.ws-seat-meter {
    background: #ffffff;
    border: 1.5px solid var(--ws-border);
    border-radius: 16px;
    padding: 18px 22px;
    margin-top: 25px;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
    min-height: 56px !important;
}

.ws-seat-bar-bg {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.ws-seat-bar-fill {
    height: 100%;
    width: 82%;
    background: linear-gradient(90deg, #15803d, #22c55e);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Pamphlet Interactive Card */
.ws-pamphlet-card {
    background: #ffffff;
    border: 1.5px solid var(--ws-border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ws-pamphlet-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    background: #0f172a !important;
}

.ws-pamphlet-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.ws-pamphlet-img-wrapper:hover img {
    transform: scale(1.03);
}

.ws-pamphlet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
}

.ws-pamphlet-img-wrapper:hover .ws-pamphlet-overlay {
    opacity: 1;
}

/* Curriculum Agenda Cards */
.ws-agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 35px;
}

@media (max-width: 991px) {
    .ws-agenda-grid {
        grid-template-columns: 1fr;
    }
}

.ws-agenda-card {
    background: #ffffff;
    border: 1.5px solid var(--ws-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ws-agenda-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: var(--ws-primary);
}

.ws-agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(21, 128, 61, 0.15);
    border-color: #86efac;
}

.ws-agenda-day {
    font-size: 12px;
    font-weight: 800;
    color: var(--ws-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ws-agenda-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ws-dark);
    margin-bottom: 14px;
}

.ws-agenda-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ws-agenda-list li {
    font-size: 14px;
    color: var(--ws-slate);
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ws-agenda-list li i {
    color: var(--ws-primary);
    margin-top: 4px;
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   MULTI-STEP BOOKING WIZARD & GPAY QR SCANNER
   ========================================================================== */

.ws-wizard-card {
    background: #ffffff;
    border: 1.5px solid var(--ws-border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.1);
}

.ws-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

.ws-steps-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.ws-step-node {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.ws-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: var(--ws-muted);
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.ws-step-node.active .ws-step-circle {
    background: var(--ws-primary);
    border-color: var(--ws-primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.ws-step-node.completed .ws-step-circle {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff;
}

.ws-step-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ws-muted);
}

.ws-step-node.active .ws-step-label {
    color: var(--ws-dark);
}

/* GPay / UPI Scanner Card */
.ws-gpay-scanner-card {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #86efac;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 12px 35px -8px rgba(21, 128, 61, 0.12);
    margin: 20px 0;
}

.ws-gpay-img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12);
    margin: 0 auto 18px auto;
    display: block;
    border: 2px solid #ffffff;
}

.ws-upi-copy-pill {
    background: #ffffff;
    border: 1.5px dashed var(--ws-primary);
    border-radius: 100px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ws-dark);
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
    word-break: break-all;
}

.ws-upi-copy-pill:hover {
    background: var(--ws-primary-soft);
    border-style: solid;
}

/* File Upload Drag & Drop */
.ws-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ws-dropzone:hover, .ws-dropzone.dragover {
    border-color: var(--ws-primary);
    background: #f0fdf4;
}

.ws-dropzone-icon {
    font-size: 36px;
    color: var(--ws-primary);
    margin-bottom: 12px;
}

.ws-screenshot-preview {
    max-width: 220px;
    max-height: 220px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
    margin-top: 14px;
    display: none;
    border: 2px solid #22c55e;
}

/* ==========================================================================
   DIGITAL TICKET PASS
   ========================================================================== */
.ws-ticket-container {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    position: relative;
}

.ws-ticket-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 32px;
    color: #ffffff;
    position: relative;
    border-bottom: 2px solid #22c55e;
}

.ws-ticket-body {
    padding: 36px 32px;
}

.ws-ticket-badge {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ws-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

@media (max-width: 576px) {
    .ws-ticket-grid {
        grid-template-columns: 1fr;
    }
}

.ws-ticket-meta-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
}

.ws-ticket-meta-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--ws-muted);
    text-transform: uppercase;
}

.ws-ticket-meta-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--ws-dark);
    margin-top: 4px;
}

/* Admin Table */
.ws-admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid var(--ws-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.05);
}

.ws-admin-table th {
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 18px;
    border: none;
}

.ws-admin-table td {
    padding: 16px 18px;
    font-size: 14px;
    color: var(--ws-slate);
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.ws-admin-table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   BULLETPROOF BUTTON TYPOGRAPHY & CONTRAST (100% VISIBILITY ON ALL BACKGROUNDS)
   ========================================================================== */
.team-btn-secondary,
.btn-secondary-modern,
.btn-outline-dark-modern {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    line-height: normal !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s ease !important;
}

.team-btn-secondary *,
.team-btn-secondary span,
.btn-secondary-modern *,
.btn-secondary-modern span,
.btn-outline-dark-modern *,
.btn-outline-dark-modern span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.team-btn-secondary i,
.btn-secondary-modern i,
.btn-outline-dark-modern i {
    color: #15803d !important;
    margin-left: 8px !important;
}

.team-btn-secondary:hover,
.btn-secondary-modern:hover,
.btn-outline-dark-modern:hover {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.12) !important;
}

.team-btn-secondary:hover *,
.team-btn-secondary:hover span,
.team-btn-secondary:hover i {
    color: #15803d !important;
}

/* Dark Background Hero Secondary Button */
.btn-outline-light-modern,
.ws-btn-secondary-dark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    line-height: normal !important;
    padding: 14px 26px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(8px) !important;
}

.btn-outline-light-modern *,
.btn-outline-light-modern span,
.ws-btn-secondary-dark *,
.ws-btn-secondary-dark span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.btn-outline-light-modern i,
.ws-btn-secondary-dark i {
    color: #4ade80 !important;
    margin-left: 8px !important;
}

.btn-outline-light-modern:hover,
.ws-btn-secondary-dark:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #4ade80 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3) !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 576px) {
    .ws-wizard-card {
        padding: 24px 16px;
        border-radius: 18px;
    }

    .ws-steps-indicator {
        margin-bottom: 25px;
    }

    .ws-steps-indicator::before {
        left: 20px;
        right: 20px;
        top: 18px;
    }

    .ws-step-circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .ws-step-label {
        font-size: 11px;
        line-height: 1.2;
    }

    .ws-countdown-box {
        padding: 12px 14px;
        gap: 10px;
        min-width: 100%;
        justify-content: space-around;
    }

    .ws-countdown-num {
        font-size: 20px;
    }

    .ws-countdown-lbl {
        font-size: 9.5px;
    }

    .ws-gpay-scanner-card {
        padding: 20px 14px;
        border-radius: 16px;
    }

    .ws-gpay-img {
        max-width: 200px;
    }

    .ws-upi-copy-pill {
        font-size: 12.5px;
        padding: 6px 14px;
    }

    .ws-ticket-container {
        border-radius: 18px;
    }

    .ws-ticket-header {
        padding: 20px 16px;
    }

    .ws-ticket-body {
        padding: 24px 16px;
    }

    .ws-agenda-card {
        padding: 20px 18px;
        border-radius: 16px;
    }
}

