/* Clean Minimal 2025 Design */
/* Organization Upsell Modal - Shows after first 3 free private competitions */

/* Alpine.js cloak - hide until initialized */
[x-cloak] { display: none !important; }

/* Modal overlay */
.c-org-upsell-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Alpine.js transition classes */
.c-org-upsell-modal--enter {
    transition: opacity 0.2s ease;
}
.c-org-upsell-modal--enter-start {
    opacity: 0;
}
.c-org-upsell-modal--enter-end {
    opacity: 1;
}
.c-org-upsell-modal--leave {
    transition: opacity 0.15s ease;
}
.c-org-upsell-modal--leave-start {
    opacity: 1;
}
.c-org-upsell-modal--leave-end {
    opacity: 0;
}

/* Modal container */
.c-org-upsell-modal__container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    padding: 32px;
}

/* Success icon */
.c-org-upsell-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5;
    color: #059669;
}

.c-org-upsell-modal__icon svg {
    width: 32px;
    height: 32px;
}

/* Title and message */
.c-org-upsell-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: -0.025em;
}

.c-org-upsell-modal__message {
    font-size: 16px;
    color: #475569;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* Benefits section */
.c-org-upsell-modal__benefits {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.c-org-upsell-modal__benefits-heading {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.c-org-upsell-modal__benefits-intro {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px 0;
}

.c-org-upsell-modal__benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-org-upsell-modal__benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}

.c-org-upsell-modal__benefit-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.c-org-upsell-modal__benefit strong {
    color: #0f172a;
}

/* Actions */
.c-org-upsell-modal__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.c-org-upsell-modal__btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.c-org-upsell-modal__btn--secondary {
    background: #f1f5f9;
    color: #475569;
}

.c-org-upsell-modal__btn--secondary:hover {
    background: #e2e8f0;
}

.c-org-upsell-modal__btn--primary {
    background: #2563eb;
    color: #ffffff;
}

.c-org-upsell-modal__btn--primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* Container animation handled via Alpine transitions */

/* Mobile responsive */
@media (max-width: 480px) {
    .c-org-upsell-modal__container {
        padding: 24px 20px;
    }

    .c-org-upsell-modal__actions {
        flex-direction: column;
    }

    .c-org-upsell-modal__btn {
        width: 100%;
        text-align: center;
    }
}
