/* ──────────────────────────────────────────────────────────────────────────
   MODAL DE AVALIAÇÃO & DEPOIMENTOS DE CLIENTES - NETO JUNIOR
   ────────────────────────────────────────────────────────────────────────── */

/* Botão no Toast de Prova Social */
.social-toast-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-toast-action-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
    border-color: #38bdf8;
}

/* Modal Overlay */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 19, 41, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.review-modal-box {
    background: #0f1f38;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
    color: #ffffff;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.review-modal-overlay.active .review-modal-box {
    transform: scale(1) translateY(0);
}

/* Header */
.review-modal-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.4), rgba(15, 31, 56, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-modal-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-modal-header h3 i {
    color: #f59e0b;
}

.review-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.review-modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

/* Body */
.review-modal-body {
    padding: 24px;
}

.review-form-group {
    margin-bottom: 18px;
}

.review-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-form-group input,
.review-form-group select,
.review-form-group textarea {
    width: 100%;
    background: rgba(5, 19, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.review-form-group input:focus,
.review-form-group select:focus,
.review-form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    background: rgba(5, 19, 41, 0.95);
}

.review-form-group textarea {
    min-height: 90px;
    resize: vertical;
}

/* Estrelas Interativas */
.star-rating-container {
    display: flex;
    gap: 8px;
    font-size: 1.6rem;
    color: #475569;
    cursor: pointer;
    margin-top: 4px;
}

.star-rating-container i {
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-container i.active,
.star-rating-container i.hovered {
    color: #f59e0b;
    transform: scale(1.1);
}

/* Botão de Envio */
.review-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e40af, #0284c7);
    border: none;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}

.review-submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

/* Floating Action Button (opcional, canto inferior) */
.btn-avaliar-flutuante {
    position: fixed;
    bottom: 85px;
    left: 20px;
    z-index: 999;
    background: rgba(15, 31, 56, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-avaliar-flutuante:hover {
    background: #1e40af;
    border-color: #38bdf8;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .btn-avaliar-flutuante {
        bottom: 75px;
        left: 12px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}
