/**
 * MSTR Enhancements - Upgrade Prompt Styles
 *
 * Modal overlay, banner, buttons for the upgrade prompt.
 *
 * @package MSTR_Enhancements
 */

/* ==========================================================================
   UPGRADE MODAL / OVERLAY
   ========================================================================== */

.mstr-upgrade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: mstr-fade-in 0.3s ease;
}

@keyframes mstr-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.mstr-upgrade-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: mstr-slide-up 0.4s ease;
}

@keyframes mstr-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.mstr-upgrade-modal__icon {
    margin-bottom: 16px;
}

.mstr-upgrade-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.3;
}

.mstr-upgrade-modal__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24px;
}

.mstr-upgrade-modal__features {
    text-align: left;
    margin: 0 0 28px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.mstr-upgrade-modal__features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mstr-upgrade-modal__features li {
    padding: 6px 0;
    font-size: 14px;
    color: #333;
}

.mstr-upgrade-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.mstr-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.mstr-btn--primary {
    background: #2563eb;
    color: #ffffff;
}

.mstr-btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.mstr-btn--secondary {
    background: transparent;
    color: #666;
    font-size: 14px;
}

.mstr-btn--secondary:hover {
    color: #333;
}

/* ==========================================================================
   SUBSCRIPTION INFO (shortcode)
   ========================================================================== */

.mstr-subscription-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.mstr-subscription-info h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #1a1a1a;
}

.mstr-subscription-info__status {
    font-size: 16px;
    font-weight: 600;
    color: #2563eb;
}

.mstr-subscription-info__detail {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 600px) {
    .mstr-upgrade-modal {
        padding: 28px 20px;
        margin: 0 10px;
    }

    .mstr-upgrade-modal__title {
        font-size: 18px;
    }

    .mstr-upgrade-modal__desc {
        font-size: 13px;
    }

    .mstr-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
