﻿:root {
    --bg-1: #2B3543;
    --bg-2: #1E2430;
    --ink: #e9eef5;
    --muted: #b2bcd1;
    --card: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.10);
    --accent: #76E4F7;
    --accent-2: #7C3AED;
    --danger: #ff6b6b;
    /* Nextron color-tokens */
    --nextron-bg-main: #151a21;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    /* gradient lives here */
    background-color: var(--nextron-bg-main);
}

.logo-survey {
    width: 100%;
    max-width: 300px;
}

.building-your-solutions {
    width: 100%;
    margin: 1.4rem 0;
    width: 100%;
    max-width: 400px;
}

.survey-container {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
}

.survey-title {
    text-wrap: pretty;
    margin: 1em 0 0.5em 0;
    font-size: 1.54rem;
}

.survey-intro {
    margin: 1rem 0 2rem 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.body-content {
    min-height: 100vh;
    padding: 32px 16px 48px;
}

/* Glassy card look (use on wrappers) */
.glass-card, .card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ink);
}

.glass-card {
    padding: 24px;
}

h1, h2, h3 {caret du
    font-weight: 700;
    letter-spacing: .2px;
}

h2 {
    margin-bottom: .75rem;
}

p, .text-muted {
    color: var(--muted);
}

a {
    color: var(--accent);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Buttons */
.btn-primary {
    background-color: #edf0f5;
    border: 0;
    border-radius: 0;
    color: #0b1020;
    font-weight: 600;
    padding: .85rem 2rem;
    transition: transform .08s ease, box-shadow .2s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #e2e2e2;
    color: #000;
}


/* Forms */
.form-group label {
    margin-bottom: .55rem;
    font-size: 0.85rem;
}

.survey-form .form-control:focus {
    background: rgba(255,255,255,.075);
    color: #f5f5f5;
}

.btn:focus, .form-control:focus, input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(118,228,247,.25);
}

.survey-form input::-webkit-outer-spin-button, .survey-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.form-control, input[type="text"], input[type="number"], textarea, select {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--card-border);
    color: #f5f5f5;
    border-radius: 0;
    /*    border-radius: 12px !important;*/
}

.survey-form .form-group textarea {
    max-height: 500px;
}

.form-control::placeholder {
    color: #9aa6bf;
}

.form-group .err-msg {
    color: #ee1212;
    display: block;
    padding: 0.25em 0;
    font-size: 0.85rem;
}

    .form-group .err-msg span {
        font-size: 0.85rem;
        display: inline-block;
        padding: 0.25em 0;
    }

.err-msg, .field-validation-error {
    color: #ee1212;
}

/* Radio pills (works nicely with your .radio-inline labels) */
.radio-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 0.4rem;
    width: 42px;
    height: 42px;
    margin-right: .65em;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .radio-inline input {
        display: none;
    }

    .radio-inline:has(input:checked) {
        border: 1px solid #3cb4e5;
        background: rgba(255,255,255,.09)
    }

    .radio-inline:hover {
        background: rgba(255,255,255,.09);
    }

/* Give groups some breathing room */
.survey-form .form-group {
    margin-bottom: 1.3rem;
}

    .survey-form .form-group:has(+h4) {
        margin-bottom: 2.35rem;
    }

@media(min-width: 680px) {
    .survey-title {
        text-wrap: pretty;
        margin: 1em 0 0.5em 0;
        font-size: 1.85rem;
    }

    .survey-intro {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 1.11rem;
    }

    .form-group .err-msg, .form-group .err-msg span {
        font-size: 1.11rem;
    }
}

/* Optional: mobile fix (iOS hates fixed backgrounds) */
@media (max-width: 768px) {
    html {
        background-attachment: scroll;
    }
}

/* Responsive container niceness */
@media (min-width: 992px) {
    .body-content {
        padding-left: 48px;
        padding-right: 48px;
    }
}
