/**
 * Quota Exhaustion Modal Styles
 */

.quota-exhausted-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quota-exhausted-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.quota-exhausted-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quota-exhausted-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.quota-exhausted-icon .material-symbols-outlined {
    font-size: 32px;
}

.quota-exhausted-title {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 16px;
}

.quota-exhausted-message {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 24px;
    line-height: 1.6;
}

.quota-exhausted-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.quota-exhausted-actions .btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quota-exhausted-actions .btn-upgrade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.quota-exhausted-actions .btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.quota-exhausted-actions .btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.quota-exhausted-actions .btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Button state when quota is exhausted */
.quota-exhausted {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .quota-exhausted-content {
        padding: 24px;
        width: 95%;
    }

    .quota-exhausted-title {
        font-size: 20px;
    }

    .quota-exhausted-message {
        font-size: 14px;
    }

    .quota-exhausted-actions {
        flex-direction: column;
        width: 100%;
    }

    .quota-exhausted-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .quota-exhausted-content {
        background: #2d2d2d;
    }

    .quota-exhausted-title {
        color: #e0e0e0;
    }

    .quota-exhausted-message {
        color: #a0a0a0;
    }

    .quota-exhausted-actions .btn-secondary {
        background: #3d3d3d;
        color: #e0e0e0;
        border-color: #4a4a4a;
    }

    .quota-exhausted-actions .btn-secondary:hover {
        background: #4a4a4a;
        border-color: #5a5a5a;
    }
}