/* BMC College ERP - Native Push Notification Modal Styling */

.bmc-push-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 42, 51, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: bmcPushFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bmc-push-backdrop.bmc-push-closing {
    animation: bmcPushFadeOut 0.2s ease-in forwards;
}

.bmc-push-card {
    background: #0f303b;
    border: 1px solid rgba(255, 189, 46, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 189, 46, 0.12);
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 24px;
    text-align: center;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transform: translateY(0);
    animation: bmcPushScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bmc-push-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 189, 46, 0.2), rgba(255, 189, 46, 0.05));
    border: 2px solid #ffbd2e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 189, 46, 0.35);
}

.bmc-push-bell-icon {
    font-size: 28px;
    animation: bmcBellShake 2s infinite;
}

.bmc-push-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.bmc-push-institute {
    font-size: 12.5px;
    font-weight: 600;
    color: #ffbd2e;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.bmc-push-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #d1dce5;
    margin: 0 0 20px;
}

.bmc-push-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.bmc-push-btn-allow {
    flex: 1;
    background: linear-gradient(135deg, #ffbd2e, #e5a417);
    color: #0c2a33;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 189, 46, 0.4);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bmc-push-btn-allow:hover {
    background: linear-gradient(135deg, #ffd05b, #ffbd2e);
    box-shadow: 0 6px 20px rgba(255, 189, 46, 0.6);
    transform: translateY(-1px);
}

.bmc-push-btn-later {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 13.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 11px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bmc-push-btn-later:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

@keyframes bmcPushFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bmcPushFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes bmcPushScaleUp {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bmcBellShake {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate(12deg); }
    50% { transform: rotate(0); }
}

@media (max-width: 480px) {
    .bmc-push-card {
        padding: 20px 16px;
    }
    .bmc-push-actions {
        flex-direction: column-reverse;
    }
    .bmc-push-btn-allow, .bmc-push-btn-later {
        width: 100%;
    }
}
