/* Limits Modal Styles */
.limit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    padding: 20px;
}

.limit-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    animation: limitModalSlideIn 0.3s ease;
}

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

.limit-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 25px;
    text-align: center;
}

.limit-modal-header i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.limit-modal-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.limit-modal-body {
    padding: 25px;
}

.limit-modal-body p {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.limit-features {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.limit-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.limit-feature i {
    color: var(--success);
    font-size: 16px;
}

.limit-modal-footer {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #eee;
}

.limit-btn {
    flex: 1;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.limit-btn.cancel {
    background: #f1f1f1;
    color: #666;
}

.limit-btn.cancel:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.limit-btn.upgrade {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.limit-btn.upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* Daily Limit Counter in Header */
.daily-limits-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 90;
}

.limit-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}

.limit-count {
    font-weight: 700;
    color: var(--primary);
}

.limit-count.unlimited {
    color: var(--success);
}

/* Premium badge in header */
.premium-header-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    top: 15px;
    right: 15px;
}
