/**
 * Custom Quote Request - Frontend Styles
 * 
 * @package Custom_Quote_Request
 * @since 1.0.0
 */

/* Toggle gomb hover effekt - erős barna árnyalat */
#cqr-toggle-panel:hover {
    background: #75593a !important;
    border-color: #75593a !important;
    box-shadow: 0 4px 12px rgba(139, 111, 71, 0.35) !important;
    transform: translateY(-1px);
}

#cqr-toggle-panel:active {
    background: #654d32 !important;
    transform: translateY(0);
}

/* Panel animáció */
#cqr-panel {
    animation: slideDown 0.4s ease;
}

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

/* Modal animáció */
#cqr-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Form fokusz állapotok */
#cqr-form input:focus,
#cqr-form textarea:focus {
    outline: none;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Checkbox stílus */
#cqr-gdpr {
    cursor: pointer;
    accent-color: #007cba;
}

/* Submit gomb hover - illeszkedik az oldal zöld gombjához */
#cqr-inline-form button[type="submit"]:hover {
    background: #4a6a3f !important;
    box-shadow: 0 2px 6px rgba(90, 122, 79, 0.3) !important;
}

#cqr-inline-form button[type="submit"]:active {
    background: #3a5a2f !important;
}

/* Sikeres üzenet animáció */
#cqr-success-message {
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #cqr-panel {
        border-radius: 8px !important;
    }
    
    #cqr-inline-form {
        padding: 20px !important;
    }
    
    #cqr-inline-form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    #cqr-toggle-panel {
        font-size: 14px !important;
        padding: 12px 15px !important;
    }
}

