/* ================================================ */
/* ESTILOS DO FORMULÁRIO DE AVALIAÇÃO              */
/* Beauty Korpus - Reformulado                     */
/* ================================================ */

.avaliacao-formulario {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 650px;
    margin: 40px auto;
    border-top: 5px solid #D4AF37;
    text-align: left;
}

.avaliacao-formulario h2 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sistema de Estrelas Interativo */
.estrelas-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.estrelas-rating input {
    display: none;
}

.estrelas-rating label {
    font-size: 3rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.estrelas-rating label:hover,
.estrelas-rating label:hover ~ label,
.estrelas-rating input:checked ~ label {
    color: #D4AF37;
    transform: scale(1.1);
}

.avaliacao-formulario .form-group {
    margin-bottom: 25px;
}

.avaliacao-formulario textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 160px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafafa;
    font-family: inherit;
    resize: vertical;
}

.avaliacao-formulario textarea:focus {
    border-color: #D4AF37;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.avaliacao-formulario .btn-enviar {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #D4AF37 0%, #b08d28 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.avaliacao-formulario .btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    filter: brightness(1.1);
}

/* Bloco de Login para utilizadores não autenticados */
.login-prompt {
    text-align: center;
    padding: 25px;
    background-color: #fdfaf0;
    border: 1px dashed #D4AF37;
    border-radius: 12px;
    margin-top: 10px;
}

.login-prompt-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn-login-inline {
    display: inline-block;
    padding: 8px 30px; /* Mais fino que o botão padrão */
    background-color: #D4AF37;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-register-inline {
    background-color: #333; /* Cor diferente para o registo */
}

.btn-register-inline:hover {
    background-color: #444;
    filter: brightness(1.2);
}