:root {
    --bg-dark: #081431;
    --bg-input: #0c1c44;
    --grey_orange: #f6e7c5;
    --gold-hover: #b8862d;
    --text-light: #ffffff;
}

body {
    font-family: 'Merriweather Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--grey_orange);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-container {
    background-color: var(--bg-dark);
    max-width: 650px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--grey_orange);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 40px;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--grey_orange);
    padding-bottom: 20px;
}

.logo {
    max-width: 180px;
    height: auto;
}

.header h2 {
    color: var(--gold);
    font-weight: 700;
    margin-top: 15px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--grey_orange);
    line-height: 1.4;
}

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-input);
    color: var(--text-light);
    border: 1px solid var(--grey_orange);
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-hover);
    box-shadow: 0 0 0 2px rgba(152, 103, 20, 0.4);
}

.star-rating {
    font-size: 2.2rem;
    color: var(--bg-input);
    cursor: pointer;
    display: flex;
    gap: 5px;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gold-hover);
    margin-top: 4px;
    max-width: 160px; /* Aligns roughly with the 5 stars */
}

.star-rating span:hover, .star-rating span.active {
    color: var(--grey_orange);
    text-shadow: 0 0 8px rgba(152, 103, 20, 0.5);
}

.nps-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nps-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
    accent-color: var(--grey_orange);
}

button {
    background-color: var(--grey_orange);
    color: var(--bg-dark);
    border: none;
    padding: 15px 20px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: var(--gold-hover);
}

button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

#loader {
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

@media (max-width: 480px) {
    .form-container { padding: 20px; }
    .nps-group { gap: 8px; }
}
