﻿html,
body {
    min-height: 100%;
    scrollbar-gutter: stable;
    overflow-y: scroll;
    
}

body {
    background: #ffffff;
    color: #212529;
    font-size: 1.1rem;
}

.h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0;
}

.kk-container {
    width: 100%;
    max-width: 1124px;
    margin: 0 auto;
    padding-left: -3px;
    padding-right: -3px;
    border: 0px solid red;
}

/* Public */
/* Public */

.public-navbar {
    background: #ffffff;
    border-bottom: 0px solid #dee2e6;
}

    .public-navbar .navbar-brand {
        font-weight: 700;
        font-size: 3.0rem;
        margin-right: 3rem;
    }

    .public-navbar .nav-link {
        color: #495057;
        font-size: 1.3rem;
    }


/* Raden med meny + knappar */

.public-navbar-menu-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


/* Menyn */

.public-main-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
}

.public-navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

    .public-navbar .navbar-nav .nav-item:not(:last-child)::after {
        content: "|";
        color: #999;
        margin: 0 4px;
    }


/* Knappar direkt efter menyn */

.public-navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}




















.public-main {
    min-height: calc(100vh - 130px);
}

.public-footer {
    border-top: 1px solid #dee2e6;
    background: #ffffff;
    color: #6c757d;
    font-size: 0.85rem;
}


/* App */

.app-navbar {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    min-height: 50px;
}

    .app-navbar .navbar-brand {
        font-weight: 700;
        font-size: 3rem;
    }

    .app-navbar .nav-link {
        color: #495057;
        padding: 0.45rem 0.65rem;
        font-size: 1.3rem;
    }

    .app-navbar .navbar-nav .nav-item {
        display: flex;
        align-items: center;
    }

        .app-navbar .navbar-nav .nav-item:not(:last-child)::after {
            content: "|";
            color: #999;
            margin: 0 4px;
        }


    .app-navbar .nav-link {
        color: #495057;
        padding: 0.45rem 0.65rem;
        font-size: 1.0rem;
    }

        .app-navbar .nav-link.active {
            color: #000;
            font-weight: 700;
            border-bottom: 3px solid #000;
        }


.app-main {
    padding-top: 18px;
    padding-bottom: 32px;
}

.app-user {
    font-size: 0.85rem;
    color: #6c757d;
}

.app-logout {
    margin-left: 12px;
}

.card {
    border-color: #e2e5e9;
    box-shadow: none;
}

.card-body {
    padding: 14px 16px;
}

.page-header {
    margin-bottom: 14px;
}

.page-header h1 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 0;
}

.h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0;
}



.question-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.question-category {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
}

.question-count {
    display: inline-flex;
    min-width: 28px;
    height: 22px;
    padding: 0 7px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    color: #212529;
    font-size: 0.8rem;
    font-weight: 600;
}

.question-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eceff2;
}

    .question-row:last-child {
        border-bottom: 0;
    }

.question-main {
    flex: 1;
    min-width: 0;
}

.question-text {
    font-weight: 500;
}

.question-help {
    margin-top: 3px;
    color: #6c757d;
    font-size: 0.85rem;
}

.question-type {
    flex: 0 0 auto;
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}



.kyc-body {
    background: #f5f6f8;
    color: #212529;
}

.kyc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.kyc-header {
    background: #fff;
    border-bottom: 1px solid #e4e7eb;
    padding: 18px 0;
}

.kyc-logo {
    font-size: 1.15rem;
    font-weight: 700;
}

.kyc-main {
    padding-top: 30px;
    padding-bottom: 50px;
}

.kyc-footer {
    padding: 20px 0 35px;
    color: #7a828a;
    font-size: 0.8rem;
}

.kyc-progress-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.kyc-progress {
    height: 5px;
    margin-bottom: 24px;
}

.kyc-question {
    padding: 18px 0;
    border-bottom: 1px solid #edf0f2;
}

    .kyc-question:last-child {
        border-bottom: 0;
    }

.kyc-question-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.kyc-question-help {
    color: #6c757d;
    font-size: 0.86rem;
    margin-top: -4px;
    margin-bottom: 10px;
}

.kyc-required {
    color: #b02a37;
}

.kyc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.kyc-review-question {
    padding: 13px 0;
    border-bottom: 1px solid #edf0f2;
}

    .kyc-review-question:last-child {
        border-bottom: 0;
    }

.kyc-review-answer {
    margin-top: 3px;
    font-weight: 500;
}


.public-hero {
    padding: 65px 0 70px 0;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

    .public-hero h1 {
        font-size: 3.4rem;
        font-weight: 700;
        line-height: 1.08;
        letter-spacing: -0.04em;
        max-width: 700px;
    }

    .public-hero .lead {
        max-width: 680px;
        font-size: 1.2rem;
        color: #5f666d;
    }

.public-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #526059;
}

.public-section {
    padding: 70px 0;
}

.public-section-light {
    background: #ffffff;
}

.public-section-heading {
    max-width: 680px;
    margin-bottom: 35px;
}

    .public-section-heading h2 {
        font-weight: 700;
        letter-spacing: -0.025em;
    }

    .public-section-heading p {
        color: #6c757d;
        font-size: 1.05rem;
    }

.public-step {
    height: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e1e5e3;
    border-radius: 12px;
}

.public-step-number {
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6c757d;
}

.public-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.public-step p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.public-feature {
    height: 100%;
    padding: 26px;
    border: 1px solid #e1e5e3;
    border-radius: 12px;
    background: #ffffff;
}

    .public-feature h3 {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .public-feature p {
        margin-bottom: 0;
        color: #6c757d;
    }

.public-cta {
    padding: 36px;
    border-radius: 14px;
    background: #212529;
    color: #ffffff;
}

    .public-cta h2 {
        font-size: 1.6rem;
        font-weight: 700;
    }

    .public-cta p {
        margin-bottom: 0;
        color: #ced4da;
    }

@media (max-width: 767.98px) {

    .public-hero {
        padding: 55px 0;
    }

        .public-hero h1 {
            font-size: 2.5rem;
        }

    .public-section {
        padding: 50px 0;
    }
}

.account-email {
    color: #6c757d;
    text-decoration: none;
}

    .account-email:hover {
        color: #212529;
        text-decoration: underline;
    }


.hero-image-col {
    transform: translate(-50px, 15px);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}




.home-hero-background {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 40px;
}

.home-hero {
    position: relative;
    min-height: 600px;
    max-height:400px;
    background-image: url('/Media/Hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    border-radius: 0px;

}


/* Container över hela bilden */

.home-hero-inner {
    width: 100%;
}


/* Textkort */

.home-hero-card {
    width: 100%;
    max-width: 510px;
    padding: 36px 40px;
    background: rgba(255, 255, 255, 0.80);
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    margin-left: 0px;
}


.home-hero-eyebrow {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}


.home-hero-card h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 18px;
}


.home-hero-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 440px;
}


.home-hero-actions {
    display: flex;
    gap: 10px;
}


.form-check-input {box-shadow: none !important;}
input[type="checkbox"] {
    box-shadow: none !important;
}

.kk-checkbox input[type="checkbox"] {
    box-shadow: none !important;
    font-size:1rem;
    
}



/* ==========================================================
   KONTROLLER
   ========================================================== */


/* ----------------------------------------------------------
   KORT / AVSNITT
   ---------------------------------------------------------- */

.kk-control-card {
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #ffffff;
}

    .kk-control-card .card-body {
        padding: 1.15rem 1rem 0.85rem 1rem;
    }


/* ----------------------------------------------------------
   RUBRIK
   ---------------------------------------------------------- */

.kk-control-heading {
    margin-bottom: 1rem;
    background: #f1f5f8;
    border-bottom: 1px solid #dee2e6;
    margin: -1.15rem -1rem 1rem -1rem;
    padding: 0.9rem 1rem 0.8rem 1rem;
}

    .kk-control-heading h2 {
        margin-top: 0;
        margin-bottom: 0.2rem;
    }

    .kk-control-heading .text-muted {
        margin: 0;
    }


/* ----------------------------------------------------------
   TABELL
   ---------------------------------------------------------- */

.kk-control-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 0;
}

    .kk-control-table th,
    .kk-control-table td {
        vertical-align: middle;
        padding: 0.65rem 0.5rem;
    }

    .kk-control-table th {
        font-weight: 600;
        border-bottom: 1px solid #dee2e6;
    }

    .kk-control-table td {
        border-bottom: 1px solid #e9ecef;
    }

    .kk-control-table tbody tr:last-child td {
        border-bottom: 0;
    }


    /* ----------------------------------------------------------
   ÅTGÄRDSKOLUMN
   ---------------------------------------------------------- */

    .kk-control-table .kk-actions {
        text-align: right;
        white-space: nowrap;
    }


/* ----------------------------------------------------------
   TOMMA AVSNITT
   ---------------------------------------------------------- */

.kk-control-empty {
    padding: 0.25rem 0 0.35rem 0;
}


.form-check {
    padding-left: 0px !important;
}


.kyc-options input[type="radio"] {
    margin-right: 6px;
}