/* Popups Semanais - LuviaFit */

.weekly-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.weekly-popup-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.popup-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.popup-text {
    text-align: center;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.weight-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.weight-input-group input {
    width: 150px;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-weight: 600;
}

.weight-input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.weight-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}

.feedback-question {
    margin-bottom: 1.5rem;
}

.feedback-question label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    font-size: 2.5rem;
    margin: 1rem 0;
}

.rating-stars span {
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.2s;
}

.rating-stars span:hover,
.rating-stars span.active {
    opacity: 1;
    transform: scale(1.2);
}

.button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feeling-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.feeling-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.feeling-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea15, #764ba215);
}

.popup-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-primary {
    flex: 1;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.02);
}

.btn-secondary {
    padding: 1rem 1.5rem;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.dont-show-again {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
}

.dont-show-again input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    animation: slideInRight 0.3s ease;
    font-weight: 600;
}

.toast-error {
    background: #dc2626;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .weekly-popup-card {
        padding: 1.5rem;
    }
    
    .popup-header h2 {
        font-size: 1.5rem;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .feeling-btn {
        width: 100%;
    }
}




