/* Global */

body {
    font-family: 'Inter', sans-serif;
    background: #f4f6f8;
    margin: 0;
    color: #333;
}

header {
    background: white;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

h1 { margin: 0; font-weight: 600; }
.subtitle { color: #555; margin-top: .4rem; }

main {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto;
}

/* Invisible honeypot */
.honeypot {
    position: absolute !important;
    left: -9999px;
    top: -9999px;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none;
}

/* Sections */

section {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.hidden { display: none; }

/* Block colors */

.block-Agency { --block-color: #0066cc; --block-light: #e6f1ff; }
.block-Engagement { --block-color: #cc5500; --block-light: #fff2e6; }
.block-Mediation { --block-color: #009966; --block-light: #e6fff5; }
.block-Emotion { --block-color: #cc3366; --block-light: #ffe6f1; }

/* Block wrapper */

.question-block-group {
    padding: 1.4rem 1.6rem;
    margin: 1.8rem 0;
    border-radius: 12px;
    border-left: 6px solid var(--block-color);
    background: var(--block-light);
}

.block-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--block-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Questions */

.question-block { margin-bottom: 1.5rem; }

.question-label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

input[type="range"] { width: 220px; }

/* Buttons */

button {
    background: #0055aa;
    color: white;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover { background: #003f7d; }

/* Results */

.chart-container { max-width: 600px; margin: 2rem auto; }

.block-score-box {
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    margin-bottom: .7rem;
    flex: 1 1 45%;
    border: 1px solid #dbe4f4;
    font-weight: 600;
    background: var(--block-light);
    border-left: 6px solid var(--block-color);
}

#block-scores {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.comment-box {
    background: #fafafa;
    padding: 1rem;
    border-left: 4px solid #0055aa;
    margin-bottom: 1rem;
}

.overall-score {
    background: #eef3fb;
    border: 1px solid #dbe4f4;
    padding: 1rem;
    font-size: 1.4rem;
    border-radius: 10px;
    text-align: center;
}

/* Email form */

#email-form {
    margin-top: 2.8rem;
    padding: 1.4rem;
    background: #f9fbff;
    border-radius: 10px;
    border: 1px solid #dbe4f4;
}

.email-field label {
    font-weight: 600;
}

.email-field input {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

#send-email-btn {
    margin-top: 1.4rem;
}

#email-status {
    margin-top: 1rem;
    font-weight: 600;
}
