:root {
    --spx-black: #111111;
    --spx-graphite: #1f2329;
    --spx-ink: #20242c;
    --spx-muted: #667085;
    --spx-border: #e2e5ea;
    --spx-bg: #f4f2ee;
    --spx-bg-warm: #fff8e6;
    --spx-surface: #ffffff;
    --spx-surface-soft: #f8fafc;
    --spx-yellow: #f7b500;
    --spx-yellow-light: #ffd45a;
    --spx-yellow-dark: #c88700;
    --spx-blue: #244866;
    --spx-blue-dark: #183348;
    --spx-green: #1f8a5b;
    --spx-green-soft: #e7f7ef;
    --spx-warning-soft: #fff4d3;
    --spx-danger: #c73737;
    --spx-danger-soft: #fff0f0;
    --spx-radius: 1rem;
    --spx-radius-sm: .7rem;
    --spx-shadow: 0 18px 45px rgba(17, 17, 17, .10);
    --spx-shadow-sm: 0 10px 28px rgba(17, 17, 17, .07);
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--spx-ink);
    background:
        radial-gradient(circle at top left, rgba(247, 181, 0, .22), transparent 32rem),
        radial-gradient(circle at 85% 5%, rgba(36, 72, 102, .12), transparent 24rem),
        linear-gradient(135deg, var(--spx-bg) 0%, #fbfaf7 48%, #efece6 100%);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: .96rem;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.app-navbar {
    border-bottom: 4px solid var(--spx-yellow);
    background: linear-gradient(135deg, var(--spx-black), var(--spx-graphite));
    box-shadow: 0 14px 34px rgba(17, 17, 17, .20);
}

.app-navbar-toggler {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
}

.app-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.app-main {
    flex: 1 0 auto;
    padding-top: 1.6rem;
}

.app-footer {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .72);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, var(--spx-black), var(--spx-graphite));
}

.app-footer-brand {
    color: var(--spx-yellow-light);
    font-weight: 700;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: -.02em;
}

.app-brand-mark {
    width: 2.55rem;
    height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    color: var(--spx-black);
    background: linear-gradient(135deg, var(--spx-yellow), var(--spx-yellow-light));
    box-shadow: 0 10px 24px rgba(247, 181, 0, .35);
}

.app-brand-title,
.app-brand-subtitle {
    display: block;
    line-height: 1.05;
}

.app-brand-title {
    font-size: 1.05rem;
}

.app-brand-subtitle {
    color: rgba(255, 255, 255, .68);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .02em;
}

.app-nav .nav-link {
    color: rgba(255, 255, 255, .84);
    font-weight: 750;
    border-radius: 999px;
    padding: .58rem .9rem;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.app-nav .nav-link:hover,
.app-nav .nav-link:focus,
.app-nav .show > .nav-link {
    color: var(--spx-black);
    background: var(--spx-yellow);
}

.user-menu-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.user-avatar {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--spx-black);
    background: var(--spx-yellow);
}

.dropdown-menu {
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: .9rem;
    box-shadow: var(--spx-shadow-sm);
    padding: .45rem;
}

.dropdown-item {
    border-radius: .65rem;
    padding: .55rem .75rem;
    color: #344054;
    font-weight: 650;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--spx-black);
    background: var(--spx-warning-soft);
}

.dropdown-divider {
    border-color: #edf0f3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--spx-ink);
    letter-spacing: -.025em;
}

h1.display-6,
.display-6 {
    font-weight: 900;
}

p {
    color: var(--spx-muted);
}

.text-muted {
    color: var(--spx-muted) !important;
}

.card {
    border: 1px solid rgba(226, 229, 234, .95) !important;
    border-radius: var(--spx-radius) !important;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--spx-shadow-sm);
}

.card-header,
.card-footer {
    border-color: var(--spx-border) !important;
    background: rgba(248, 250, 252, .78) !important;
}

.card-header:first-child {
    border-top-left-radius: var(--spx-radius) !important;
    border-top-right-radius: var(--spx-radius) !important;
}

.shadow-sm {
    box-shadow: var(--spx-shadow-sm) !important;
}

.rounded-4 {
    border-radius: var(--spx-radius) !important;
}

.btn {
    border-radius: .72rem;
    font-weight: 800;
    letter-spacing: -.01em;
    box-shadow: none !important;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary,
.btn-warning {
    color: var(--spx-black);
    border-color: transparent;
    background: linear-gradient(135deg, var(--spx-yellow), var(--spx-yellow-light));
}

.btn-primary:hover,
.btn-primary:focus,
.btn-warning:hover,
.btn-warning:focus {
    color: var(--spx-black);
    background: linear-gradient(135deg, var(--spx-yellow-dark), var(--spx-yellow));
}

.btn-success {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--spx-green), #27a871);
}

.btn-success:hover,
.btn-success:focus {
    color: #fff;
    background: linear-gradient(135deg, #176b46, var(--spx-green));
}

.btn-outline-primary {
    color: var(--spx-blue);
    border-color: rgba(36, 72, 102, .35);
    background: rgba(255, 255, 255, .72);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    border-color: var(--spx-blue);
    background: var(--spx-blue);
}

.btn-outline-secondary {
    color: #475467;
    border-color: #ccd2dc;
    background: rgba(255, 255, 255, .74);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: var(--spx-black);
    border-color: #a8b0bd;
    background: #f8fafc;
}

.btn-outline-danger {
    color: var(--spx-danger);
    border-color: rgba(199, 55, 55, .35);
    background: rgba(255, 255, 255, .74);
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-danger {
    color: #fff;
    border-color: var(--spx-danger);
    background: var(--spx-danger);
}

.form-control,
.form-select {
    border-color: #cbd2dc;
    border-radius: .75rem;
    color: var(--spx-ink);
    background-color: rgba(255, 255, 255, .96);
    box-shadow: inset 0 1px 2px rgba(17, 17, 17, .03);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(247, 181, 0, .88);
    box-shadow: 0 0 0 .22rem rgba(247, 181, 0, .22);
}

.form-label {
    color: #344054;
    font-weight: 800;
}

.form-text {
    color: var(--spx-muted);
}

.table {
    color: var(--spx-ink);
    vertical-align: middle;
}

.table thead th {
    color: #475467;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    border-bottom-color: var(--spx-border);
    background: #f7f8fa;
}

.table tbody tr {
    transition: background-color .15s ease;
}

.table tbody tr:hover {
    background: rgba(255, 244, 211, .65);
}

.table td,
.table th {
    border-color: #e8ebf0;
}

.badge {
    border-radius: 999px;
    padding: .45em .72em;
    font-weight: 900;
    letter-spacing: -.01em;
}

.alert {
    border: 0;
    border-radius: var(--spx-radius-sm);
    box-shadow: 0 10px 24px rgba(17, 17, 17, .055);
}

.alert-success {
    color: #0f5132;
    background: var(--spx-green-soft);
}

.alert-warning {
    color: #6c4700;
    background: var(--spx-warning-soft);
}

.alert-danger {
    color: #842029;
    background: var(--spx-danger-soft);
}

.alert-info {
    color: #173e59;
    background: #e8f2f8;
}

.app-alert {
    border-left: 4px solid var(--spx-yellow);
}

.progress-container,
.progress {
    background: #e8ebf0;
    border-radius: 999px;
    overflow: hidden;
}

.progress-container {
    width: 100%;
    height: 1.15rem;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--spx-yellow-dark), var(--spx-yellow));
    color: var(--spx-black);
    text-align: center;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.15rem;
    transition: width .3s ease-in-out;
}

.survey-form,
.survey-container {
    max-width: 760px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid var(--spx-border);
    border-top: 4px solid var(--spx-yellow);
    border-radius: var(--spx-radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--spx-shadow);
}

.answer-option {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .75rem;
    padding: .75rem .85rem;
    border: 1px solid transparent;
    border-radius: .85rem;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.answer-option input[type="radio"] {
    margin-right: 0;
}

.answer-option:hover,
.answer-option.highlighted {
    border-color: rgba(247, 181, 0, .65);
    background: var(--spx-warning-soft);
    box-shadow: 0 8px 20px rgba(247, 181, 0, .12);
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 2rem;
}

.navigation button {
    border: 0;
    border-radius: .75rem;
    padding: .62rem 1.05rem;
    color: var(--spx-black);
    background: linear-gradient(135deg, var(--spx-yellow), var(--spx-yellow-light));
    font-size: 1rem;
    font-weight: 850;
    cursor: pointer;
}

.navigation button:disabled,
.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.image-preview {
    margin-top: 1rem;
    text-align: center;
}

.image-preview img,
.img-thumbnail {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--spx-border);
    border-radius: .85rem;
    padding: .35rem;
    background: white;
    box-shadow: 0 8px 20px rgba(17, 17, 17, .07);
}

.image-preview img {
    max-height: 140px;
}

.custom-btn {
    padding: .65em 1.35em;
    border: 0;
    border-radius: .75rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

#surveys-panel form,
#recent-panel form,
header form,
.dropdown-menu form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-family: inherit;
}

#surveys-panel .form-control,
#surveys-panel .form-select,
#recent-panel .form-control,
#recent-panel .form-select {
    width: 100%;
}

#surveys-panel .btn,
#recent-panel .btn {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .app-navbar .navbar-collapse {
        padding-top: 1rem;
    }

    .app-nav .nav-link {
        border-radius: .75rem;
    }

    .user-name {
        max-width: 15rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .app-main {
        padding-top: 1rem;
    }

    .survey-form,
    .survey-container {
        padding: 1.25rem;
        margin: 1rem auto;
    }

    .navigation {
        flex-direction: column;
    }
}

/* =========================
   Global modal styling
   ========================= */

.modal-backdrop.show {
    opacity: 0.55;
}

.modal-content {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1.5rem 3rem rgba(17, 24, 39, 0.22);
}

.modal-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.1rem 1.35rem;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
}

    .modal-header .modal-title {
        font-weight: 700;
        letter-spacing: 0.01em;
        display: flex;
        align-items: center;
        gap: 0.55rem;
    }

    .modal-header .btn-close {
        filter: invert(1) grayscale(100%);
        opacity: 0.8;
    }

        .modal-header .btn-close:hover {
            opacity: 1;
        }

.modal-body {
    padding: 1.35rem;
    color: #1f2937;
}

    .modal-body p:last-child {
        margin-bottom: 0;
    }

.modal-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1rem 1.35rem 1.2rem;
    background: #f8fafc;
    gap: 0.65rem;
}

    .modal-footer .btn {
        min-width: 120px;
    }

.modal .form-text {
    color: #6b7280;
}

.modal .alert {
    margin-bottom: 0;
}

/* Lite mjukare text i varnings-/bekräftelsemodaler */
.modal-body .text-danger {
    color: #b42318 !important;
    font-weight: 600;
}

.modal-body .text-warning {
    color: #b54708 !important;
    font-weight: 600;
}

/* Standard “ikoncirkel” om du vill använda en ikon i modalen */
.modal-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.modal-danger .modal-header,
.modal-danger .modal-header .modal-title,
.modal-danger .modal-header .modal-title i {
    color: #fff !important;
}

.modal-icon-danger {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.modal-icon-warning {
    background: rgba(244, 176, 0, 0.18);
    color: #b58100;
}

.modal-icon-success {
    background: rgba(25, 135, 84, 0.14);
    color: #198754;
}

/* Destruktiva modaler kan få rödtonad header via extra klass */
.modal-danger .modal-header {
    background: linear-gradient(135deg, #7f1d1d, #b42318);
}

.modal-warning .modal-header {
    background: linear-gradient(135deg, #9a6700, #b54708);
}

.modal-success .modal-header {
    background: linear-gradient(135deg, #166534, #198754);
}

/* =========================
   Modal polish
   ========================= */

.modal-header,
.modal-header .modal-title,
.modal-header .modal-title i {
    color: #fff !important;
}

.modal-danger .modal-header,
.modal-danger .modal-header .modal-title,
.modal-danger .modal-header .modal-title i {
    color: #fff !important;
}

.modal-warning .modal-header,
.modal-warning .modal-header .modal-title,
.modal-warning .modal-header .modal-title i {
    color: #fff !important;
}

.modal-success .modal-header,
.modal-success .modal-header .modal-title,
.modal-success .modal-header .modal-title i {
    color: #fff !important;
}

.modal-body .modal-icon {
    display: none;
}

.modal-footer .btn-danger {
    background: linear-gradient(135deg, #b42318, #dc3545);
    border-color: transparent;
    color: #fff;
}

    .modal-footer .btn-danger:hover,
    .modal-footer .btn-danger:focus {
        background: linear-gradient(135deg, #8f1d14, #b42318);
        color: #fff;
    }

.modal-footer .btn-warning {
    background: linear-gradient(135deg, #b58100, #f4b000);
    border-color: transparent;
    color: #111827;
}

    .modal-footer .btn-warning:hover,
    .modal-footer .btn-warning:focus {
        background: linear-gradient(135deg, #8f6700, #d69700);
        color: #111827;
    }

/* =========================
   Survey editor nested cards
   ========================= */

.answer-editor-card,
.question-editor-card {
    overflow: hidden;
}

    .answer-editor-card .accordion-body,
    .question-editor-card .accordion-body {
        padding: 1.25rem !important;
        background: #ffffff;
    }

    .answer-editor-card .answer-editor-fields,
    .question-editor-card .question-editor-fields {
        padding: 1.25rem;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 1rem;
        background: #ffffff;
    }

    .answer-editor-card .accordion-footer,
    .question-editor-card .accordion-footer,
    .answer-editor-card .editor-actions,
    .question-editor-card .editor-actions {
        padding: 1rem 1.25rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        background: #f8fafc;
    }

    .answer-editor-card .accordion-body {
        padding: 1.25rem !important;
    }

/* =========================
   Survey editor answer cards
   ========================= */

.answer-editor-card {
    overflow: hidden;
    background: #fff;
}

    .answer-editor-card .answer-editor-fields {
        padding: 1.25rem;
    }

    .answer-editor-card .editor-actions {
        padding: 1rem 1.25rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        background: #f8fafc;
        margin-bottom: 0 !important;
    }

/* =========================
   Table polish
   ========================= */

.table {
    margin-bottom: 0;
}

    .table thead th {
        padding: 0.85rem 1rem;
        vertical-align: middle;
    }

    .table tbody td,
    .table tbody th {
        padding: 1rem;
        vertical-align: middle;
    }

    .table tbody tr {
        min-height: 4.25rem;
    }

.table-responsive {
    border-radius: 0 0 1rem 1rem;
}

.card .table-responsive:first-child {
    border-radius: 1rem;
}

.card-body.p-0 .table thead th:first-child,
.card-body.p-0 .table tbody td:first-child,
.card-body.p-0 .table tbody th:first-child {
    padding-left: 1.25rem;
}

.card-body.p-0 .table thead th:last-child,
.card-body.p-0 .table tbody td:last-child,
.card-body.p-0 .table tbody th:last-child {
    padding-right: 1.25rem;
}

.table .btn-sm {
    padding: 0.42rem 0.65rem;
    border-radius: 0.65rem;
}

.table .badge {
    white-space: nowrap;
}

.table .text-muted.small {
    line-height: 1.35;
}

/* More breathing room for action columns */
.table th.text-end,
.table td.text-end {
    white-space: nowrap;
}

/* Prevent very long survey titles from making rows look cramped */
.table td .fw-semibold,
.table th .fw-semibold {
    line-height: 1.3;
}

/* =========================
   Standard page hero
   ========================= */

.app-page-hero {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--app-shadow-sm);
    background: linear-gradient(135deg, #111827, #2d2415 58%, #8a6400);
}

.app-page-hero-body {
    padding: 1.5rem 1.75rem;
    color: #fff;
}

.app-page-hero-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.app-page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .75rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #ffc107;
    color: #111827;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.app-page-hero-title {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.app-page-hero-subtitle {
    color: rgba(255, 255, 255, .68);
    font-size: .92rem;
}

.app-page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.app-page-hero-stat {
    min-width: 5.5rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .10);
}

.app-page-hero-stat-label {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 700;
}

.app-page-hero-stat-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.app-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

@media (max-width: 767.98px) {
    .app-page-hero-body {
        padding: 1.25rem;
    }

    .app-page-hero-content {
        flex-direction: column;
    }

    .app-page-hero-stats {
        justify-content: flex-start;
    }

    .app-page-hero-title {
        font-size: 1.65rem;
    }
}

/* =========================
   Responsive polish
   ========================= */

@media (max-width: 991.98px) {
    .app-main {
        padding-top: 1rem;
    }

    .app-page-hero-body {
        padding: 1.25rem;
    }

    .app-page-hero-content {
        gap: 1.25rem;
    }

    .app-page-hero-actions {
        width: 100%;
    }

        .app-page-hero-actions .btn {
            flex: 1 1 auto;
        }

    .card-body.p-4,
    .card-body.p-xl-5 {
        padding: 1.25rem !important;
    }

    .table-responsive {
        border-radius: 1rem;
    }

    .table {
        min-width: 760px;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: .94rem;
    }

    .container,
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .app-brand-title {
        font-size: .95rem;
    }

    .app-brand-subtitle {
        font-size: .72rem;
    }

    .app-brand-mark {
        width: 2.1rem;
        height: 2.1rem;
        border-radius: .7rem;
    }

    .app-page-hero-title {
        font-size: 1.55rem;
    }

    .app-page-hero-subtitle {
        font-size: .86rem;
    }

    .app-page-hero-stats {
        width: 100%;
        justify-content: flex-start;
    }

    .app-page-hero-stat {
        flex: 1 1 calc(50% - .5rem);
        min-width: 0;
    }

    .app-page-hero-stat-value {
        font-size: .95rem;
    }

    .app-page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .app-page-hero-actions .btn {
            width: 100%;
        }

    .btn {
        white-space: normal;
    }

    .btn-sm {
        padding: .45rem .65rem;
    }

    .d-inline-flex.gap-2.flex-wrap.justify-content-end {
        justify-content: flex-start !important;
    }

    .filter-card,
    .border.rounded-4.bg-light.p-4 {
        padding: 1rem !important;
    }

    .table thead th {
        padding: .75rem .85rem;
    }

    .table tbody td,
    .table tbody th {
        padding: .85rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: .25rem;
    }

        .pagination .page-link {
            border-radius: .65rem;
        }

    .modal-content {
        border-radius: 1rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

        .modal-footer .btn {
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .app-page-hero-body {
        padding: 1rem;
    }

    .app-page-hero-eyebrow {
        margin-bottom: .6rem;
        font-size: .68rem;
    }

    .app-page-hero-title {
        font-size: 1.35rem;
    }

    .app-page-hero-stat {
        flex: 1 1 100%;
    }

    .card {
        border-radius: 1rem !important;
    }

    .rounded-4 {
        border-radius: 1rem !important;
    }

    .card-body.p-4,
    .card-body.p-xl-5 {
        padding: 1rem !important;
    }

    .survey-form,
    .survey-container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .navigation {
        flex-direction: column;
    }

        .navigation .btn,
        .navigation button {
            width: 100%;
        }

    .answer-option {
        align-items: flex-start;
    }

    .image-preview img {
        max-height: 110px;
    }
}

.export-csv-warning {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.4;
}

.admin-users-table th,
.admin-users-table td {
    white-space: nowrap;
}

.admin-users-table .text-wrap {
    white-space: normal;
}
