/* ── Linis Coaching 360° – Public Styles ─────────────── */

.lc360-instructions {
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}
.lc360-instructions h2 {
    margin-top: 0;
    color: #0073aa;
}
.lc360-instructions ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ── Form styles ──────────────────────────────────────── */
.lc360-form {
    max-width: 640px;
    margin: 20px 0;
}
.lc360-field {
    margin-bottom: 18px;
}
.lc360-field > label:first-child {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.lc360-field input[type="text"],
.lc360-field input[type="email"],
.lc360-field textarea,
.lc360-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.lc360-field textarea {
    resize: vertical;
}
.lc360-radio,
.lc360-checkbox {
    display: block;
    margin: 4px 0;
    padding: 4px 0;
}
.lc360-radio input,
.lc360-checkbox input {
    margin-right: 6px;
}

/* ── Consent fieldset ─────────────────────────────────── */
.lc360-consent {
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    background: #fefefe;
}
.lc360-consent legend {
    font-weight: 700;
    font-size: 16px;
    padding: 0 8px;
}

/* ── Questions fieldset ───────────────────────────────── */
.lc360-questions {
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}
.lc360-questions legend {
    font-weight: 700;
    font-size: 16px;
    padding: 0 8px;
}

/* ── Submit row ───────────────────────────────────────── */
.lc360-submit-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.lc360-submit-row .button {
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
}
.lc360-submit-row .button-primary {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
}
.lc360-submit-row .button-primary:hover {
    background: #005f8d;
}
.lc360-submit-row .button:not(.button-primary) {
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ── OTP flow ─────────────────────────────────────────── */
.lc360-otp-flow {
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.lc360-otp-flow h2 {
    margin-top: 0;
}
.lc360-otp-verify {
    margin-top: 20px;
}
.lc360-otp-verify input[type="text"] {
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    width: 180px;
    padding: 10px;
    border: 2px solid #0073aa;
    border-radius: 6px;
}
.lc360-otp-verify button {
    margin-top: 12px;
}

/* ── Notices ──────────────────────────────────────────── */
.lc360-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
    font-weight: 500;
}
.lc360-notice.success {
    background: #ecf7ed;
    border-left: 4px solid #46b450;
    color: #2e7d32;
}
.lc360-notice.error {
    background: #fbeaea;
    border-left: 4px solid #dc3232;
    color: #b71c1c;
}

/* ── Tables ───────────────────────────────────────────── */
.lc360-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.lc360-table th,
.lc360-table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.lc360-table th {
    background: #f5f5f5;
    font-weight: 600;
    white-space: nowrap;
}
.lc360-table tr:nth-child(even) {
    background: #fafafa;
}

/* ── Response card ────────────────────────────────────── */
.lc360-response-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
    background: #fff;
}
.lc360-response-card h3 {
    margin-top: 0;
    color: #0073aa;
}

/* ── Respondent rows (invitation form) ────────────────── */
.lc360-respondent-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.lc360-respondent-row input[type="email"],
.lc360-respondent-row input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.lc360-respondent-row select {
    min-width: 160px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.lc360-add-respondent {
    margin: 8px 0 20px;
    cursor: pointer;
}

/* ── Survey header ────────────────────────────────────── */
.lc360-survey h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}
.lc360-form-desc {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}
