﻿/* ============================================================
   PROFESSIONAL CONSENT POPUP - ENHANCED DESIGN
   ============================================================ */

/* Base overlay */
/*.push-consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: consentFadeIn 0.4s ease;
}

.push-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.push-consent-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
    animation: consentSlideUp 0.5s ease;
}

.push-consent-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}*/

/* ===== HEADER ===== */
/*.consent-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 30px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .consent-header::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -30%;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 50%;
    }

.consent-header-icon {
    margin-bottom: 12px;
}

.bell-wrapper {
    position: relative;
    display: inline-block;
}

.consent-bell {
    font-size: 48px;
    color: #ffffff;
    animation: bellRing 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.bell-dot {
    position: absolute;
    top: 2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #ff4757;
    border: 3px solid #667eea;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.consent-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
}

.consent-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
}*/

/* ===== BODY ===== */
/*.consent-body {
    padding: 24px 28px 16px 28px;
}

.consent-description {
    font-size: 15px;
    color: #2d3436;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

    .consent-description strong {
        color: #667eea;
        font-weight: 600;
    }*/

/* Features Grid */
/*.consent-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .feature-item:hover {
        background: #f0f2f8;
        transform: translateY(-2px);
    }

    .feature-item.highlight {
        grid-column: span 2;
        background: #e8edff;
        border: 1px solid #d0d9ff;
        justify-content: center;
    }

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}

    .feature-icon.exams {
        background: linear-gradient(135deg, #4facfe, #00f2fe);
    }

    .feature-icon.fee {
        background: linear-gradient(135deg, #f093fb, #f5576c);
    }

    .feature-icon.attendance {
        background: linear-gradient(135deg, #43e97b, #38f9d7);
    }

    .feature-icon.event {
        background: linear-gradient(135deg, #fa709a, #fee140);
    }

    .feature-icon.emergency {
        background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    }

    .feature-icon.private {
        background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    }

.feature-text {
    font-size: 13px;
    font-weight: 500;
    color: #2d3436;
    line-height: 1.2;
}*/

/* Trust Badge */
/*.trust-badge {
    text-align: center;
    padding: 10px 0 4px 0;
    font-size: 13px;
    color: #6c757d;
}

    .trust-badge i {
        color: #28a745;
        margin-right: 6px;
    }*/

/* ===== FOOTER ===== */
/*.consent-footer {
    padding: 16px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.btn-consent {
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-consent i {
        font-size: 18px;
    }

.btn-allow {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

    .btn-allow:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
    }

    .btn-allow:active {
        transform: scale(0.98);
    }

.btn-later {
    background: #f1f2f6;
    color: #2d3436;
}

    .btn-later:hover {
        background: #e5e6ea;
        transform: translateY(-2px);
    }

.btn-never {
    background: transparent;
    color: #adb5bd;
    font-weight: 400;
    font-size: 14px;
    padding: 8px;
}

    .btn-never:hover {
        color: #6c757d;
        text-decoration: underline;
    }*/

/* ===== ANIMATIONS ===== */
/*@keyframes consentFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes consentSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bellRing {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }

    85% {
        transform: rotate(12deg);
    }

    90% {
        transform: rotate(-10deg);
    }

    95% {
        transform: rotate(6deg);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}*/

/* ===== RESPONSIVE ===== */
/*@media (max-width: 520px) {
    .push-consent-wrapper {
        padding: 12px;
    }

    .consent-header {
        padding: 24px 20px 16px 20px;
    }

    .consent-body {
        padding: 18px 16px 12px 16px;
    }

    .consent-footer {
        padding: 12px 16px 20px 16px;
    }

    .consent-features-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .feature-item.highlight {
        grid-column: span 1;
    }

    .consent-title {
        font-size: 20px;
    }

    .consent-bell {
        font-size: 36px;
    }

    .btn-consent {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .consent-title {
        font-size: 18px;
    }

    .feature-text {
        font-size: 12px;
    }

    .consent-description {
        font-size: 13px;
    }
}*/



/* ============================================================
   PREMIUM CONSENT POPUP - CUSTOM COLOR SCHEME
   ============================================================ */

/* ===== BASE ===== */
/*.push-consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: consentFadeIn 0.5s ease;
}

.push-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.push-consent-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 20px;
    animation: consentSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.push-consent-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}*/

/* ===== HEADER ===== */
/*.consent-header {
    background: linear-gradient(135deg, #04adbc 0%, #28c3d7 50%, #666cff 100%);
    padding: 32px 30px 28px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}*/

/* Decorative Circles */
/*.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

    .circle-decoration.c1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }

    .circle-decoration.c2 {
        width: 120px;
        height: 120px;
        bottom: -40px;
        left: -30px;
        background: rgba(255, 255, 255, 0.04);
    }

    .circle-decoration.c3 {
        width: 80px;
        height: 80px;
        top: 20px;
        left: 40%;
        background: rgba(255, 255, 255, 0.03);
    }*/

/* Header Wave */
/*.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
}

    .header-wave svg {
        width: 100%;
        height: 100%;
        display: block;
    }

        .header-wave svg path {
            fill: #ffffff;
        }*/

/* Bell Icon */
/*.consent-header-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

.bell-wrapper {
    position: relative;
    display: inline-block;
}

.consent-bell {
    font-size: 52px;
    color: #ffffff;
    animation: bellRing 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.bell-dot {
    position: absolute;
    top: 0;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ff4c51;
    border: 3px solid #04adbc;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.bell-ring {
    position: absolute;
    top: -10px;
    right: -20px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

.consent-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.consent-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}*/

/* ===== BODY ===== */
/*.consent-body {
    padding: 20px 28px 16px 28px;
    background: #ffffff;
}*/

/* Tagline */
/*.consent-tagline {
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 18px;
    padding: 6px 16px;
    background: #f8f9fb;
    border-radius: 30px;
    display: inline-block;
    width: 100%;
    letter-spacing: 0.3px;
}

    .consent-tagline .tagline-icon {
        margin-right: 8px;
    }*/

/* Features Grid */
/*.consent-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8f9fb;
    border-radius: 12px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    cursor: default;
}

    .feature-item:hover {
        background: #ffffff;
        border-color: #dfdfe3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}*/

/* Icon Colors using your color codes */
/*.feature-icon.exams {
    background: #666cff;
}*/
/* Blue */
/*.feature-icon.attendance {
    background: #56ca00;
}*/
/* Green */
/*.feature-icon.school {
    background: #04adbc;
}*/
/* Teal */
/*.feature-icon.fee {
    background: #ffb400;
}*/
/* Yellow */
/*.feature-icon.communication {
    background: #8c57ff;
}*/
/* Purple */
/*.feature-icon.events {
    background: #28c3d7;
}*/
/* Cyan */
/*.feature-icon.emergency {
    background: #ff4c51;
}*/
/* Red */

/*.feature-text {
    font-size: 13px;
    font-weight: 500;
    color: #2d3436;
    line-height: 1.2;
}*/

/* Emergency Full Width */
/*.feature-item.emergency-full {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1px solid #ff4c51;
    border-radius: 12px;
    padding: 10px 16px;
    position: relative;
}

    .feature-item.emergency-full .feature-icon {
        background: #ff4c51;
    }

.emergency-badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    background: #ff4c51;
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 30px;
    letter-spacing: 1px;
    animation: pulseBadge 2s ease-in-out infinite;
}*/

/* Trust Badge */
/*.trust-badge {
    text-align: center;
    padding: 10px 0 4px 0;
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .trust-badge i {
        color: #56ca00;
        font-size: 16px;
    }*/

/* Statistics */
/*.consent-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 0 4px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 14px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    font-size: 11px;
    color: #adb5bd;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: #e9ecef;
}*/

/* ===== FOOTER ===== */
/*.consent-footer {
    padding: 16px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.btn-consent {
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
}

    .btn-consent i {
        font-size: 18px;
    }

.btn-allow {
    background: linear-gradient(135deg, #8c57ff 0%, #666cff 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(102, 108, 255, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-allow::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
    }

    .btn-allow:hover::before {
        left: 100%;
    }

    .btn-allow:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 35px rgba(102, 108, 255, 0.5);
    }

    .btn-allow:active {
        transform: scale(0.97);
    }

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-allow:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-later {
    background: #f1f2f6;
    color: #2d3436;
}

    .btn-later:hover {
        background: #e5e6ea;
        transform: translateY(-2px);
    }

.btn-never {
    background: transparent;
    color: #adb5bd;
    font-weight: 400;
    font-size: 14px;
    padding: 8px;
}

    .btn-never:hover {
        color: #6c757d;
    }*/

/* ===== ANIMATIONS ===== */
/*@keyframes consentFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes consentSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bellRing {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }

    85% {
        transform: rotate(15deg);
    }

    90% {
        transform: rotate(-12deg);
    }

    95% {
        transform: rotate(8deg);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulseBadge {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}*/

/* ===== RESPONSIVE ===== */
/*@media (max-width: 560px) {
    .push-consent-wrapper {
        padding: 12px;
        max-width: 100%;
    }

    .consent-header {
        padding: 24px 20px 20px 20px;
    }

    .consent-body {
        padding: 16px 16px 12px 16px;
    }

    .consent-footer {
        padding: 12px 16px 20px 16px;
    }

    .consent-features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .feature-item.emergency-full {
        grid-column: span 1;
    }

    .consent-title {
        font-size: 20px;
    }

    .consent-bell {
        font-size: 40px;
    }

    .btn-consent {
        padding: 12px 16px;
        font-size: 14px;
    }

    .consent-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .consent-title {
        font-size: 18px;
    }

    .consent-subtitle {
        font-size: 13px;
    }

    .feature-text {
        font-size: 12px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .btn-consent {
        font-size: 13px;
        padding: 10px 14px;
    }
}*/






/* ===== BASE ===== */
/*.push-consent-wrapper {
    max-width: 440px;*/ /* Reduced from 520px */
    /*padding: 16px;*/ /* Reduced from 20px */
/*}*/

/* ===== HEADER ===== */
/*.consent-header {
    padding: 24px 24px 20px 24px;*/ /* Reduced from 32px 30px 28px */
/*}

.consent-bell {
    font-size: 44px;*/ /* Reduced from 52px */
/*}

.consent-title {
    font-size: 22px;*/ /* Reduced from 26px */
/*}

.consent-subtitle {
    font-size: 13px;*/ /* Reduced from 15px */
/*}*/

/* ===== BODY ===== */
/*.consent-body {
    padding: 16px 22px 12px 22px;*/ /* Reduced from 20px 28px 16px */
/*}

.consent-tagline {
    font-size: 13px;*/ /* Reduced from 14px */
    /*padding: 5px 14px;*/ /* Reduced from 6px 16px */
    /*margin-bottom: 14px;*/ /* Reduced from 18px */
/*}

.consent-features-grid {
    gap: 8px;*/ /* Reduced from 10px */
    /*margin-bottom: 12px;*/ /* Reduced from 16px */
/*}

.feature-item {
    padding: 8px 12px;*/ /* Reduced from 10px 14px */
    /*gap: 10px;*/ /* Reduced from 12px */
    /*border-radius: 10px;*/ /* Reduced from 12px */
/*}

.feature-icon {
    width: 30px;*/ /* Reduced from 36px */
    /*height: 30px;*/ /* Reduced from 36px */
    /*font-size: 14px;*/ /* Reduced from 16px */
    /*border-radius: 8px;*/ /* Reduced from 10px */
/*}

.feature-text {
    font-size: 12px;*/ /* Reduced from 13px */
/*}

.feature-item.emergency-full {
    padding: 8px 14px;*/ /* Reduced from 10px 16px */
/*}

.emergency-badge {
    font-size: 8px;*/ /* Reduced from 9px */
    /*padding: 2px 10px;*/ /* Reduced from 2px 12px */
/*}

.trust-badge {
    font-size: 12px;*/ /* Reduced from 13px */
    /*padding: 8px 0 2px 0;*/ /* Reduced from 10px 0 4px 0 */
/*}

.consent-stats {
    padding: 12px 0 2px 0;*/ /* Reduced from 14px 0 4px 0 */
    /*gap: 12px;*/ /* Reduced from 16px */
    /*margin-top: 10px;*/ /* Reduced from 14px */
/*}

.stat-number {
    font-size: 16px;*/ /* Reduced from 18px */
/*}

.stat-label {
    font-size: 10px;*/ /* Reduced from 11px */
/*}

.stat-divider {
    height: 24px;*/ /* Reduced from 30px */
/*}*/

/* ===== FOOTER ===== */
/*.consent-footer {
    padding: 12px 22px 22px 22px;*/ /* Reduced from 16px 28px 28px */
    /*gap: 8px;*/ /* Reduced from 10px */
/*}

.btn-consent {
    padding: 12px 16px;*/ /* Reduced from 14px 20px */
    /*font-size: 14px;*/ /* Reduced from 16px */
    /*border-radius: 12px;*/ /* Reduced from 14px */
    /*gap: 10px;*/ /* Reduced from 12px */
/*}

    .btn-consent i {
        font-size: 16px;*/ /* Reduced from 18px */
    /*}

.btn-arrow {
    font-size: 18px;*/ /* Reduced from 20px */
/*}

.btn-never {
    font-size: 13px;*/ /* Reduced from 14px */
    /*padding: 6px;*/ /* Reduced from 8px */
/*}*/

/* ===== RESPONSIVE ===== */
/*@media (max-width: 480px) {
    .push-consent-wrapper {
        padding: 10px;
        max-width: 100%;
    }

    .consent-header {
        padding: 18px 16px 16px 16px;
    }

    .consent-body {
        padding: 12px 14px 10px 14px;
    }

    .consent-footer {
        padding: 10px 14px 16px 14px;
    }

    .consent-features-grid {
        gap: 6px;
    }

    .consent-title {
        font-size: 18px;
    }

    .consent-bell {
        font-size: 36px;
    }

    .btn-consent {
        font-size: 13px;
        padding: 10px 14px;
    }

    .feature-text {
        font-size: 11px;
    }

    .feature-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .consent-title {
        font-size: 16px;
    }

    .consent-subtitle {
        font-size: 12px;
    }

    .btn-consent {
        font-size: 12px;
        padding: 8px 12px;
    }
}*/









/* ============================================================
   PREMIUM CONSENT POPUP - REDUCED SIZE
   ============================================================ */


/* ===== LOGO BACKGROUND INSIDE HEADER ===== */
.consent-header {
    position: relative;
    overflow: hidden;
}

.header-logo-bg {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    opacity: 0.12; /* subtle watermark effect */
    pointer-events: none;
    z-index: 1;
}

    .header-logo-bg img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: contain;
        display: block;
    }

/* Ensure text stays above logo */
.consent-header-icon,
.consent-title,
.consent-subtitle,
.header-wave {
    position: relative;
    z-index: 2;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 480px) {
    .header-logo-bg {
        width: 100px;
        height: 100px;
        right: -10px;
        opacity: 0.1;
    }
}

@media (max-width: 360px) {
    .header-logo-bg {
        width: 80px;
        height: 80px;
        right: -5px;
        opacity: 0.08;
    }
}








.push-consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none; /* Hidden by default, shown via JS with flex */
    align-items: center;
    justify-content: center;
    animation: consentFadeIn 0.5s ease;
}

.push-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.push-consent-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 16px;
    animation: consentSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.push-consent-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
}





/* ===== HEADER ===== */
.consent-header {
    background: linear-gradient(135deg, #04adbc 0%, #28c3d7 50%, #666cff 100%);
    padding: 24px 24px 20px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

    .circle-decoration.c1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }

    .circle-decoration.c2 {
        width: 120px;
        height: 120px;
        bottom: -40px;
        left: -30px;
        background: rgba(255, 255, 255, 0.04);
    }

    .circle-decoration.c3 {
        width: 80px;
        height: 80px;
        top: 20px;
        left: 40%;
        background: rgba(255, 255, 255, 0.03);
    }

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
}

    .header-wave svg {
        width: 100%;
        height: 100%;
        display: block;
    }

        .header-wave svg path {
            fill: #ffffff;
        }

.consent-header-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

.bell-wrapper {
    position: relative;
    display: inline-block;
}

.consent-bell {
    font-size: 44px;
    color: #ffffff;
    animation: bellRing 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.bell-dot {
    position: absolute;
    top: 0;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ff4c51;
    border: 3px solid #04adbc;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.bell-ring {
    position: absolute;
    top: -10px;
    right: -20px;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

.consent-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.consent-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* ===== BODY ===== */
.consent-body {
    padding: 16px 22px 12px 22px;
    background: #ffffff;
}

.consent-tagline {
    text-align: center;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 14px;
    padding: 5px 14px;
    background: #f8f9fb;
    border-radius: 30px;
    display: inline-block;
    width: 100%;
    letter-spacing: 0.3px;
}

    .consent-tagline .tagline-icon {
        margin-right: 8px;
    }

.consent-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fb;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    cursor: default;
}

    .feature-item:hover {
        background: #ffffff;
        border-color: #dfdfe3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon.exams {
    background: #666cff;
}

.feature-icon.attendance {
    background: #56ca00;
}

.feature-icon.school {
    background: #04adbc;
}

.feature-icon.fee {
    background: #ffb400;
}

.feature-icon.communication {
    background: #8c57ff;
}

.feature-icon.events {
    background: #28c3d7;
}

.feature-icon.emergency {
    background: #ff4c51;
}

.feature-text {
    font-size: 12px;
    font-weight: 500;
    color: #2d3436;
    line-height: 1.2;
}

.feature-item.emergency-full {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    border: 1px solid #ff4c51;
    border-radius: 10px;
    padding: 8px 14px;
    position: relative;
}

    .feature-item.emergency-full .feature-icon {
        background: #ff4c51;
    }

.emergency-badge {
    margin-left: auto;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    background: #ff4c51;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 30px;
    letter-spacing: 1px;
    animation: pulseBadge 2s ease-in-out infinite;
}

.trust-badge {
    text-align: center;
    padding: 8px 0 2px 0;
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .trust-badge i {
        color: #56ca00;
        font-size: 16px;
    }

.consent-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 2px 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.stat-label {
    font-size: 10px;
    color: #adb5bd;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: #e9ecef;
}

/* ===== FOOTER ===== */
.consent-footer {
    padding: 12px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.btn-consent {
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

    .btn-consent i {
        font-size: 16px;
    }

.btn-allow {
    background: linear-gradient(135deg, #8c57ff 0%, #666cff 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(102, 108, 255, 0.4);
    position: relative;
    overflow: hidden;
}

    .btn-allow::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
        transform: rotate(45deg);
        transition: all 0.6s ease;
    }

    .btn-allow:hover::before {
        left: 100%;
    }

    .btn-allow:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 35px rgba(102, 108, 255, 0.5);
    }

    .btn-allow:active {
        transform: scale(0.97);
    }

.btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-allow:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-later {
    background: #f1f2f6;
    color: #2d3436;
}

    .btn-later:hover {
        background: #e5e6ea;
        transform: translateY(-2px);
    }

.btn-never {
    background: transparent;
    color: #adb5bd;
    font-weight: 400;
    font-size: 13px;
    padding: 6px;
}

    .btn-never:hover {
        color: #6c757d;
    }

/* ===== ANIMATIONS ===== */
@keyframes consentFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes consentSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bellRing {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }

    85% {
        transform: rotate(15deg);
    }

    90% {
        transform: rotate(-12deg);
    }

    95% {
        transform: rotate(8deg);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulseBadge {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .push-consent-wrapper {
        padding: 10px;
        max-width: 100%;
    }

    .consent-header {
        padding: 18px 16px 16px 16px;
    }

    .consent-body {
        padding: 12px 14px 10px 14px;
    }

    .consent-footer {
        padding: 10px 14px 16px 14px;
    }

    .consent-features-grid {
        gap: 6px;
    }

    .consent-title {
        font-size: 18px;
    }

    .consent-bell {
        font-size: 36px;
    }

    .btn-consent {
        font-size: 13px;
        padding: 10px 14px;
    }

    .feature-text {
        font-size: 11px;
    }

    .feature-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 14px;
    }

    .feature-item.emergency-full {
        grid-column: span 1;
    }

    .consent-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 360px) {
    .consent-title {
        font-size: 16px;
    }

    .consent-subtitle {
        font-size: 12px;
    }

    .btn-consent {
        font-size: 12px;
        padding: 8px 12px;
    }
}