/* Usage Limit Modal */
.usage-limit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.usage-limit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.usage-limit-content {
    position: relative;
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.usage-limit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #e5e7eb;
}

.usage-limit-header h2 {
    font-size: 24px;
    color: #1f2937;
    margin: 0;
}

.usage-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #6b7280;
    transition: all 0.3s;
}

.usage-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.usage-limit-body {
    padding: 30px;
    text-align: center;
}

.usage-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.usage-limit-body h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 15px;
}

.usage-limit-body p {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 25px;
}

.usage-benefits {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.usage-benefits h4 {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 15px;
}

.usage-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-benefits li {
    padding: 8px 0;
    color: #374151;
    font-size: 14px;
}

.usage-benefits strong {
    color: #0c4a6e;
}

.usage-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-primary-large {
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary-large {
    padding: 16px 32px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary-large:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.usage-note {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

.usage-note a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.usage-note a:hover {
    text-decoration: underline;
}

/* Usage Warning Banner */
.usage-warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-bottom: 2px solid #fbbf24;
    padding: 12px 20px;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.usage-warning-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.usage-warning-icon {
    font-size: 20px;
}

.usage-warning-text {
    flex: 1;
    color: #78350f;
    font-size: 14px;
    font-weight: 500;
}

.usage-warning-text strong {
    color: #92400e;
    font-weight: 700;
}

.usage-warning-text a {
    color: #92400e;
    text-decoration: underline;
    font-weight: 700;
}

.usage-warning-close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #78350f;
    transition: all 0.3s;
}

.usage-warning-close:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Usage Counter Badge */
.usage-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0f9ff;
    border: 2px solid #bae6fd;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #0c4a6e;
    margin-left: 10px;
}

.usage-counter-icon {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .usage-limit-content {
        margin: 20px;
        max-width: none;
    }

    .usage-limit-header {
        padding: 20px;
    }

    .usage-limit-header h2 {
        font-size: 20px;
    }

    .usage-limit-body {
        padding: 20px;
    }

    .usage-icon {
        font-size: 48px;
    }

    .usage-warning-content {
        flex-wrap: wrap;
    }
}

