body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

.ev-bg{background:var(--ev-color, #00303a)!important}
.btn-ev{background:var(--ev-color, #00303a);border-color:var(--ev-color, #00303a);color:#fff}
.btn-ev:hover{filter:brightness(.9);color:#fff}
.status-badge{text-transform:capitalize}

/* Portal Landing Page */
.portal-hero {
    background: linear-gradient(135deg, #00303a 0%, #004d5d 100%);
    color: #ffffff;
    border-radius: 1rem;
    padding: 3rem 2.25rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 48, 58, 0.12);
}

.portal-hero::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(25, 163, 64, 0.22) 0%, rgba(25, 163, 64, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portal-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.portal-badge {
    background: rgba(25, 163, 64, 0.2);
    color: #79f29d;
    border: 1px solid rgba(25, 163, 64, 0.35);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    display: inline-block;
}

.btn-sbmsb-green {
    background-color: #19a340 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 50px !important;
    font-weight: 600;
    padding: 0.65rem 1.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-sbmsb-green:hover {
    background-color: #158534 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(25, 163, 64, 0.35);
}

.btn-sbmsb-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 50px !important;
    font-weight: 600;
    padding: 0.55rem 1.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-sbmsb-outline:hover {
    background-color: #ffffff !important;
    color: #00303a !important;
    border-color: #ffffff !important;
}

.guide-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guide-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.step-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(25, 163, 64, 0.12);
    color: #19a340;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.event-portal-card {
    border: 1px solid #e2e8f0;
    border-left: 6px solid #19a340;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}
.event-portal-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Sticky Action Bar */
.sticky-action-bar {
    position: sticky;
    bottom: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-top: 1px solid #dee2e6;
    padding: 0.85rem 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 0.375rem 0.375rem;
}

/* File Upload Box */
.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    transition: border-color 0.2s, background-color 0.2s;
}
.file-upload-box:hover, .file-upload-box.dragover {
    border-color: var(--ev-color, #1f4e79);
    background-color: #f1f5f9;
}

/* Stepper / Timeline */
.step-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1.5rem;
}
.step-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}
.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}
.step-item.active .step-circle {
    border-color: var(--ev-color, #1f4e79);
    background: var(--ev-color, #1f4e79);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(31, 78, 121, 0.2);
}
.step-item.completed .step-circle {
    border-color: #198754;
    background: #198754;
    color: #fff;
}
.step-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: block;
}
.step-item.active .step-label {
    color: #0f172a;
    font-weight: 700;
}
@media (max-width: 576px) {
    .step-label { font-size: 0.7rem; }
    .step-circle { width: 32px; height: 32px; font-size: 0.8rem; }
    .step-timeline::before { top: 16px; left: 20px; right: 20px; }
}

@media print {
    nav, footer, .btn, .alert, .no-print { display: none !important; }
    body { background: #fff !important; }
    .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
    .card { border: 1px solid #ddd !important; box-shadow: none !important; }
}

