:root {
    --primary: #000080;
    /* Navy Blue (Ashoka Chakra) */
    --background: #fdfdfd;
    --text: #1a1a1b;
    --text-light: #525253;
    --accent: #FF9933;
    /* Saffron */
    --success: #138808;
    /* India Green */
    --gray-100: #f0f2f5;
    --gray-200: #e4e6eb;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--gray-100);
    color: var(--text);
    line-height: 1.5;
}

header {
    background: var(--primary);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.main-container {
    max-width: 600px;
    margin: 1.5rem auto;
    padding: 0 0.75rem;
}

.portal-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.portal-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.portal-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.step-indicator {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Options Styles */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-card:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.option-card.selected {
    border-color: var(--success);
    background: #f0fff4;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-radius: 50%;
}

.option-card.selected .radio-circle {
    border-color: var(--success);
    background: var(--success);
    box-shadow: inset 0 0 0 3px white;
}

/* Loading Spinner */
#loading-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gray-200);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
}

#progress-bar {
    height: 100%;
    background: linear-gradient(to right, #FF9933, #ffffff, #138808);
    width: 0%;
    transition: width 0.3s ease;
}

.urgency-banner {
    background: #000080;
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #FF9933;
}

/* Notification Popups */
.notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    border-left: 5px solid var(--success);
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.5s ease-out forwards;
    width: 280px;
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.toast-icon {
    background: var(--success);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-content {
    font-size: 0.8rem;
    font-weight: 600;
}

.toast-content span {
    color: var(--success);
    font-weight: 800;
}


/* Ad Slots */
.ad-slot {
    background: #f8f9fa;
    border: 1px dashed #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    min-height: 90px;
}

.btn-primary {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}
/* Viral Share Styles */
.share-container {
    background: #f0f7ff;
    border: 2px dashed #25D366;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    border: none;
    width: 100%;
    cursor: pointer;
}

.share-progress-container {
    height: 12px;
    background: #e4e6eb;
    border-radius: 6px;
    overflow: hidden;
    margin: 1rem 0;
}

#share-progress-fill {
    height: 100%;
    background: #25D366;
    width: 0%;
    transition: width 0.5s ease;
}

.share-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1b;
}

.btn-disabled {
    background: #a9a9a9 !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.7;
}
