/* --- STYL OKIENKA RECENZJI (MODAL) --- */
.modal-content {
    background: #080808; 
    border: 1px solid var(--gold);
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.modal-content h3 {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.modal-input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.3s;
}

/* Efekt po kliknięciu w pole tekstowe */
.modal-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(200, 169, 126, 0.2);
}

/* Złoty przycisk wyślij */
.btn-cta-large {
    width: 100%;
    background: var(--gold);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-cta-large:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--gold);
}

/* Przycisk zamknięcia "X" */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--gold);
}
/* --- GWIAZDKI W FORMULARZU RECENZJI --- */
.rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.rating-text {
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse; /* Układa gwiazdki od prawej do lewej dla efektu hover */
    justify-content: center;
}

.star-rating input {
    display: none; /* Ukrywamy brzydkie kropki od radio buttonów */
}

.star-rating label {
    color: #333; /* Szary, nieaktywny kolor gwiazdki */
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    padding: 0 2px;
}

/* Podświetlanie gwiazdek po najechaniu i kliknięciu */
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(200, 169, 126, 0.4);
}