/* -------------------
    Colors
---------------------*/

.text-red {
    color: #de3748;
}

.text-greylight {
    color: #a5a5a5;
}

.text-grey {
    color: #414042;
}

.text-greymedium {
    color: #6e777d;
}

.text-black {
    color: #000000;
}

.text-white {
    color: #fff;
}

/* background colors */
.bg-greylight {
    background-color: #f5f5f5;
}

.bg-sky {
    background-color: #b8e6f4;
}

}

.bg-green {
    background-color: #baf2e3;
}

.bg-yellow {
    background-color: #ffec9b;
}

.bg-ambar {
    background-color: #ffc993;
}

.bg-pink {
    background-color: #fff7f8;
}

.bg-pinkdark {
    background-color: #f9d9db;
}

.bg-purple {
    background-color: #efefff;
}


/* -------------------

    Bootstrap styles overrides

---------------------*/
*:hover,
*:focus {
    outline: 0 !important;
}

.row {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col {
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .container {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .container {
        width: auto;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }

    .container.container-narrow {
        max-width: 780px;
    }

    .container.container-narrow-2 {
        max-width: 860px;
    }
}

.dropdown-menu {
    margin: 1em 0 0;
    padding: 0;
    border-radius: 0;
    border: 0 none;
    opacity: 0;
    position: relative;
    -webkit-box-shadow: 1px 1px 24px 0px rgba(50, 50, 50, 0.2);
    -moz-box-shadow: 1px 1px 24px 0px rgba(50, 50, 50, 0.2);
    box-shadow: 1px 1px 24px 0px rgba(50, 50, 50, 0.2);
}

.dropdown-menu:before {
    /* content: '';
position: absolute;
top: 0;
left:auto;
right:1rem;
width: 0;
height: 0;
border: 10px solid transparent;
border-bottom-color: #FFF;
border-top: 0;
margin-left: -10px;
margin-top: -10px; */
}

.dropdown-menu.show {
    opacity: 1;
}

.dropdown-menu>li>a {
    padding: .75em 1em;
}

.dropdown:hover {
    cursor: pointer
}

.dropdown-menu i {
    color: #cccccc;
    margin-right: .5rem;
}

.dropdown-menu .divider {
    margin: 0;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0 none;
}

.dropdown-item {
    padding: .775rem 1.5rem;
    border-bottom: 1px solid #EEE;
    color: #666;
}

.dropdown-toggle::after {
    content: "";
    border: 0 none;
    display: none;
}

.uppercase {
    text-transform: uppercase
}

strong {
    font-weight: bold
}

.btn {
    font-size: 0.9rem;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    transition: all .25s;
}

.btn-lg {
    padding: 0.5rem 1.5rem;
}

.btn-sm {
    font-size: 13px;
    text-transform: uppercase;
}

.btn-outline-white {
    border-color: #FFF;
}

.btn-outline-white:hover {
    border-color: #4f00a3;
    background-color: #4f00a3;
    color: #FFF;
}

.btn:focus,
.btn.focus {
    outline: 0;
    box-shadow: none
}





/******************** B-TEST */
/* Custom CSS */

body {
    font-family: "SourceSansPro-Regular", Helvetica, Arial, sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    color: #000000;
    font-size: 16px;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none
}

h1,
h2,
h3,
h4,
h5,
h6,
.sidebar,
.dropdown,
.btn {
    font-family: "SourceSansPro-Regular";
}


h1,
h2,
h3 {
    font-weight: bold;
}

h3 span {
    font-weight: 500;
}

h1,
.h1 {
    font-size: 2.5rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.75rem;
}

h4,
.h4 {
    font-size: 1.5rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

p {
    font-size: 1.2rem;
}

a:hover {
    text-decoration: none;
}

hr {
    margin: 0.3rem;
}

p {
    line-height: 1.4;
}

.logo-print {
    display: none;
}



/* -------------------
    Content Cross
---------------------*/

main {
    padding: 0 0 2rem;
    /*background: url(images/adn.svg) no-repeat right 1rem top 2rem / 220px;*/
    min-height: calc(100vh - 220px);
}

.col-sidebar {
    -ms-flex: 0 0 290px;
    flex: 0 0 290px;
    margin-bottom: 2rem;
    padding: 0vw 1vw 3vw 0vw;
}

.fixed-width-col {
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
}


/* -------------------
    Sidebar + Navbar
---------------------*/
.logo {
    background: url(/static/btest/images/gen360.png) no-repeat left top / 100px;
    text-indent: -9999px;
    margin: 0;
}

.box-profile {
    background-color: white;
    /*margin-top:5rem;*/
}

.box-profile img.company {
    width: 50px;
}

.staff-profile-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.staff-profile-identity img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.staff-profile-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.box-profile.staff-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.box-profile.staff-profile .staff-profile-identity {
    width: 100%;
    min-width: 0;
}

.box-profile.staff-profile .staff-profile-identity .avatar {
    margin-right: 0;
}

.box-profile.staff-profile > hr {
    flex: 0 0 auto;
    width: 100%;
    margin: 0.75rem 0 0;
}

.staff-profile-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 5px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--border, rgba(0, 0, 0, 0.09));
    border-radius: 6px;
    background: var(--surface-2, #f7f6f4);
    color: var(--text-2, #3d3a37);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.staff-profile-logout:hover,
.staff-profile-logout:focus {
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid, rgba(208, 75, 87, 0.22));
    background: var(--brand-dim, rgba(208, 75, 87, 0.1));
    text-decoration: none;
}

@supports (mask-image: none) or (-webkit-mask-image: none) {
    .staff-profile-logout::before {
        content: '';
        flex: 0 0 13px;
        width: 13px;
        height: 13px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") no-repeat center / contain;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") no-repeat center / contain;
    }
}

.btn.btn-lang {
    background: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    margin: 0 .2rem;
}

.mobile .btn.btn-lang {
    background-position: 10px center;
    background-size: 28px;
}

.btn.btn-lang.lang-en {
    background-image: url(/static/btest/images/flag-uk.svg);
}

.btn.btn-lang.lang-es {
    background-image: url(/static/btest/images/flag-es.svg);
}

/* actions */
.actions {
    font-size: 14px;
}

.actions h5 {
    font-weight: 700;
}

.actions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f7f7f7;
    padding: .5rem 0rem;
}

.actions li:last-child {
    border-bottom: none;
    flex-direction: column;
}

.actions li:last-child a:last-child {
    color: #de3748;
    font-weight: bold;
    margin-top: 1rem;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.actions a:hover span {
    text-decoration: none
}

/* sidebar */
.sidebar>a {
    color: black;
    font-weight: bold;
    display: block;
}

.sidebar>a span {
    border-bottom: 2px solid black;
    padding-bottom: .15rem;
    margin-left: .8rem;
}

/* nav-side */
.nav-side .active a span {
    text-decoration: underline;
}

.nav-side ul {
    font-size: 14px;
    margin-top: .5rem;
    margin-bottom: 0;
}

.nav-side ul,
.nav-side ul li {
    line-height: 1.25;
}

.nav-side ul li {
    padding: .25rem 0;
}

.li-padding {
    padding-top: 12px;
    padding-bottom: 12px;
}

.nav-side ul a {
    line-height: 1.25;
    text-transform: uppercase;
    font-weight: 300;
}

.nav-side ul .active {
    text-decoration: underline;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    display: inline-block;
    color: black;
    border: 1px solid transparent;
}

.nav-link:hover {
    border: 1px solid black;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #000;
    background-color: #f3f3f3;
}

.fixed-width-col img {
    width: 100%;
    max-width: 100%;
    height: auto;
}



/* //////////////////// SIDEBAR + NAVBAR */
.sidebar-right h4 {
    font-size: 0.9rem;
}

/* ------ */
.col-sidebar {
    padding: 0vw 1vw 3vw 2vw;
    position: relative;
    min-height: 100vh;
}

/* ------ */
.sidebar h6 {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #a5a5a5;
    font-weight: bold;
}

.sticky {
    padding: .75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ------ */
.mobile {
    display: none;
}

.mobile .dropdown-menu {
    max-height: calc(100vh - 80px);
    overflow: scroll;
}

.mobile .dropdown-item {
    white-space: normal;
    min-width: 250px;
}

.mobile .dropdown-item.active {
    background-color: transparent;
    color: #de3748;
    font-weight: bold;
}

.mobile .dropdown-item.divider {
    height: 1rem;
    padding: 0;
    background: #f4f4f4;
}

.mobile .icon {
    padding-left: 3rem;
    background-position: 10px center !important;
    background-repeat: no-repeat;
    background-size: 25px !important;
}

.mobile .profile img {
    width: 23px;
    height: 23px;
}

.mobile .company {
    width: 60px;
    height: 38px;
}

.staff-sidebar-group-logo-wrap {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: calc(100% - 48px);
    max-width: 220px;
}

.staff-sidebar-group-logo {
    display: block;
    width: 100%;
    height: auto;
    max-width: 220px;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
}

/* ------ */
.nav-side,
.nav-side a {
    color: #414042;
}

.nav-side a:hover {
    color: #111;
}

.nav-side>li>a:hover {
    text-decoration: underline;
}

a>i,
a>span {
    vertical-align: middle;
}

.nav-side>li {
    padding: .75rem 0;
    line-height: 1.33;
}

.nav-side li.icon {
    padding-left: 3rem;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 34px;
    display: flex;
}

.nav-side>li.divider {
    margin: .5em -1vw .5em -4vw;
    height: 1em;
    background: #f4f4f4;
    padding: 0;
}

.nav-side a.active {
    color: #de3748;
    font-weight: bold;
    text-decoration: none !important;
}



/* -------------------
    Toolbar
---------------------*/
.toolbar {
    display: flex;
    padding: 1rem 0.8rem;
    justify-content: flex-start;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    box-shadow: 0px 2px 3px 1px #58585814;
}

.toolbar span {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
}



/* -------------------
    Footer
---------------------*/
footer {
    color: #FFF;
    height: 90px;
    left: 0;
}

footer .bg-primary {
    padding: 1rem 0;
}

footer p {
    margin: 0 1rem 0 0;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 12px;
}

.logo-bitgenia {
    display: inline-block;
    text-indent: -9999px;
    background: url(/static/btest/images/logo-bitgenia.svg) no-repeat center / 120px;
    width: 120px;
    height: 30px;
    margin-top: 5px;
}

.logo-bitgenia a {
    display: block;
}

/* Sticky footer */
html {
    position: relative;
    min-height: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /*height: 102px;*/
}

ul.pre-footer {
    padding: 0rem 0rem 1rem 0;
    list-style-type: none;
    font-weight: 300;
    font-size: 13px;
    color: #666666;
}

ul.pre-footer li {
    display: inline-block;
    margin: 0 .5rem;
}

ul.pre-footer a {
    color: #666666;
}

ul.pre-footer a:hover {
    color: #ec5964
}


.intro-list h3 {
    margin-bottom: 0;
}

.intro-list h6 {
    line-height: 1.5;
}




/* -------------------
    Images & Icons
---------------------*/

svg {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    transform: scale(0.5);
}

/* se usa en nav-side */
.icon {
    padding-left: 2.375rem;
    background-position: left 9px;
    background-size: 34px;
    display: inline-block;
    vertical-align: middle;
}

.icon.size28 {
    background-size: 28px;
    height: 28px;
    width: 28px;
}

.icon.size40 {
    background-size: 40px;
    height: 40px;
    width: 40px;
    padding-left: 3rem;
}

.icon.size75 {
    background-size: 75px;
    height: 75px;
    width: 75px;
}

.icon.size28 {
    background-size: 28px;
    height: 28px;
    width: 28px;
    padding-left: 2rem;
}


/* ------ Images */
img {
    width: 100%;
    max-width: 250px;
    display: inline-block;
}

.icon-position-center {
    background: left center no-repeat;

}

/*
.icon-heart {
    background:url(images/icon_heart.svg) left center no-repeat;
}
.icon-eye {
    background:url(images/icon_eye.svg) left center no-repeat;
}
.icon-lungs {
    background:url(images/icon_lungs.svg) left center no-repeat;
}
.icon-brain {
    background:url(images/icon_brain.svg) left center no-repeat;
}
.icon-joint {
    background:url(images/icon_joint.svg) left center no-repeat;
}
.icon-medicine {
    background:url(images/icon_medicine.svg) left center no-repeat;
}
.icon-food {
    background:url(images/icon_food.svg) left center no-repeat;
}
.icon-metabolism {
    background:url(images/icon_metabolism.svg) left center no-repeat;
}
.icon-excersice{
    background:url(images/icon_excercise.svg) left center no-repeat;
}
.icon-blood {
    background:url(images/icon_blood.svg) left center no-repeat;
}
.icon-diseases {
    background:url(images/icon_diseases.svg) left center no-repeat;
}
*/
/*-----------*/
.ic-avatar {
    background: url(/static/btest/images/avatar.svg) left center no-repeat;
}

.ic-doctor {
    background: url(images/ic_doctor.svg) left center no-repeat;
}

.ic-salt {
    background: url(images/ic_salt.svg) left center no-repeat;
}

.ic-acne {
    background: url(images/ic_acne.svg) left center no-repeat;
}

.ic-adn {
    background: url(images/ic_adn.svg) left center no-repeat;
}

.ic-alert {
    background: url(images/ic_alert.svg) left center no-repeat;
}

.ic-beer {
    background: url(images/ic_beer.svg) left center no-repeat;
}

.ic-check {
    background: url(images/ic_check.svg) left center no-repeat;
}

.ic-exercise {
    background: url(images/ic_exercise.svg) left center no-repeat;
}

.ic-food {
    background: url(images/ic_food.svg) left center no-repeat;
}

.ic-list {
    background: url(images/ic_list.svg) left center no-repeat;
}

.ic-meds {
    background: url(images/ic_meds.svg) left center no-repeat;
}

.ic-pool {
    background: url(/static/btest/images/ic_pool.svg) left center no-repeat;
}

.ic-salt {
    background: url(images/ic_salt.svg) left center no-repeat;
}

.ic-weight {
    background: url(images/ic_weight.svg) left center no-repeat;
}


/* -------------------
    Utilities
---------------------*/

.tag {
    /* background-color: transparent; */
    padding: .05rem .3rem;
    font-size: 1rem;
    font-weight: bold;
    color: black;
}

/* material icons */
.material-icons-outlined.md-18 {
    font-size: 18px;
}

.material-icons-outlined.md-24 {
    font-size: 24px;
}

.material-icons-outlined.md-36 {
    font-size: 36px;
}

.material-icons-outlined.md-48 {
    font-size: 48px;
}

.btn+.btn {
    margin-left: .5rem;
}

.btn.circle {
    border-radius: 0.9rem;
    /* padding: 0.2rem 0.5rem; */
    padding: 0;

}

.btn.oval {
    border-radius: 0.9rem;
    padding: 0.1rem 0.5rem;
}

.btn.circle i,
.btn.circle .md-24 {
    padding: 0.25rem 0.27rem;
}

.btn.circle .md-18 {
    padding: 0.2rem 0.25rem;
}





/* -------------------
    Components
---------------------*/

/* progress-bar */
.progress {
    /* override Boostrap */
    height: 0.8rem;
    border-radius: 0.5rem;
}

.progress-bar.active {
    border: 1px solid #000;
}

.progress-bar.left {
    border-radius: .5rem 0 0 .5rem;
}

.progress-bar.right {
    border-radius: 0 .5rem .5rem 0;
}

/* Charts */
canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}



/* -------------------
    Cards
---------------------*/
.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    /* style B original */
    border-radius: 7px;
    width: 100%;
}

.card:hover {
    border: 1px solid rgb(0, 0, 0);
    box-sizing: border-box;
}

/* ------ CONTENT CARDS  */
.card-column .card {
    width: auto;
    margin: .3rem;
}

/* sizes */
.sm-cards-square .card,
.sm-cards .card,
.md-cards .card {
    justify-content: center;
}

.card-aling-top {
    justify-content: flex-start;
}

.xs-cards-square .card {
    min-width: 140px;
    min-height: 140px;
}

.sm-cards .card {
    width: 170px;
    min-height: 70px;
}

.sm-cards-square .card {
    /* width: 170px; */
    width: 100%;
    max-height: 170px;
}

.sm-cards-square .icon {
    min-width: 75px;
    height: 75px;
}

/*
.md-cards .card{
    width: 245px;
    max-height: 270px;
}
*/
.md-cards .card {
    width: 256px;
    max-height: 360px;
}



/* ------  CARDS */
.card-header {
    background-color: inherit;
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.card-header:first-child {
    /*override boostrap */
    border-radius: 7px;
}

.card-footer:last-child {
    /*override boostrap */
    border-radius: 7px;
}

.card-body {
    padding: 1.5rem;
}

.card-header+.card-body {
    padding: 0 1rem 1rem;
}

.card-footer {
    padding: 0.2rem;
    background-color: inherit;
    border-top: none;
}

/*----overrides*/
.sm-cards-square .card-body {
    padding: 1.3rem;
}

/*----*/
.card-title {
    font-size: 1.4rem;
    line-height: 1.09;
}

.heading {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

/*------- MEDIUM*/

.md-cards .subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

/*
.md-cards .card-text{
    line-height: 1.33;
}
*/
t .md-cards .card-text {
    line-height: 1.1;
}

.md-cards .card-header {
    min-height: 55px;
}

/*--------- MINI */

.xxs-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.xxs-card .card-header img {
    width: 40px;
}

/*----------- HORIZONTAL*/
.card.horizontal {
    padding: .8rem .4rem .8rem 1rem;
    margin-bottom: .75rem;
}

.card.horizontal .heading {
    margin-bottom: 0;
}



/* /////////////////////////////////////////////////// PAGES */

/* -------------------
    Login
---------------------*/

/*
.login-form h5 {
color:#ec5964
}
*/

.login-form .logo {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    height: 180px;
    width: 230px;

    background-size: 100%;
    text-indent: -9999px;
    margin: 0;

}

.card-body {
    padding: 1.75rem;
}

.card-signin {
    margin-left: 1rem;
    margin-right: 1rem;
}

.card-purchase {
    padding-left: 4rem;
    padding-right: 4rem;
    padding-top: 4rem;
    padding-bottom: 1.3rem
}

.card-information {
    padding: 2rem 4rem 1.3rem 4rem;
}

.form-control-lg {
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 30px;
}

.form-label-group {
    margin-top: 1rem;
}

.submit-container {
    margin-top: 1.5rem;
}

.btn-lg {
    padding: 0.5rem 2.5rem;
    border-radius: 30px;
}

.card-body small a {
    color: #999;
    display: inline-block;
    padding: .25rem 0;
}

.card-body small a:hover {
    color: #ec5964
}


.login .card {
    border: 0 none;
    border-radius: 0;
}

.bg-container {
    /*
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
*/
    background: url(images/bg-login.jpg) no-repeat center / cover;
    padding-bottom: 102px;
    min-height: 100vh;
}

.quote {
    color: #444;
    opacity: .75;
    max-width: 170px;
    font-size: 1.75rem;
    line-height: 1.125;
    position: absolute;
    top: 3rem;
    left: 3rem;
    display: none;
}


/* -------------------
    Home
---------------------*/
.home .avatar {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    object-fit: cover;
    align-vertical: center;
}

.box-profile .avatar {
    width: 34px;
    height: 34px;
    margin-right: 1rem;
    object-fit: cover;
}

.home .main-card {
    opacity: 0.86;
    /* min-width: 400px */
}

.home .main-card:first-child {
    margin-top: 0;
}

.home h4+p {
    font-size: 1rem;
}

.home h5 {
    font-family: 'Dosis', Helvetica, Arial, sans-serif;
    font-weight: normal;
    line-height: 1.09
}

.home .heading {
    margin-bottom: 0rem;
}

.home .img-timeline img {
    max-width: 95px;
}

/* home - imgs */
.img-back {
    height: auto;
    min-height: 255px;
    min-width: 188px;
}

.img-back.bg1 {
    background: url("/static/btest/images/bg_div_1.svg") no-repeat top left 1.5rem;
}

.img-back.bg2 {
    background: url("/static/btest/images/bg_div_2.svg") no-repeat 0 -10px;
}

.img-back.bg3 {
    background: url("/static/btest/images/bg_div_3.svg") no-repeat 0 -10px;
}

.img-back.bg4 {
    background: url("/static/btest/images/bg_div_4.svg") no-repeat 0 -10px;
}

.img-back.bg-empty {
    background: url("/static/btest/images/im_empty.svg") no-repeat top left;
}


/* home - sections */
.home section {
    padding: 1rem;
}

/*
.home section.intro p{
    padding-left: 3rem;
}
*/
.home section.first .card-header+.card-body {
    padding: 0 1rem 0;
}

.home section.second ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 160px;
}

.home section.fourth {
    background-color: #d5d5d5;
    margin: 3rem -2rem 0;
    padding: 2rem 2rem 4rem 2rem;
}

.home section.actions {
    background: white;
    margin: 0 -2rem 0;
    padding: 2rem 2rem 4rem 2rem;
}

/* 1er columna de section: contiene img */
/* .home section:not(.intro) > div:first-child,
.home section:not(.actions) > div:first-child{ */
.img-timeline {
    min-height: 200px;
    min-width: 150px;
    text-align: right;
}

/* 2da columna de section */
/* .home section:not(.intro) > div:last-child,
.home section:not(.actions) > div:first-child */
.home section.img-back>div:last-child {
    padding-left: 0;
}


/* -------------------
    Trends
---------------------*/
.trends section:first-child .row {
    padding-bottom: 1rem;
}


/* -------------------
    Detail
---------------------*/
.detail .avatar {
    width: 43px;
    height: 43px;
    margin-right: 1rem;
}

.detail section {
    padding: 1rem;
}

.detail section:nth-child(2) {
    background-color: white;
    padding: 2rem;
}

.detail section:nth-child(4) {
    background-color: white;
    padding: 2rem;
}

.detail section>.row {
    padding-bottom: 3rem;
}

.detail section.more-info {
    margin-top: 3rem;
}

.detail section.more-info p {
    max-width: 600px;
}

.detail section.more-info a {
    font-size: 1rem;
    color: #000;
    line-height: 1.3;
}

/* ---------- */
/* Lists */

.detail ul li.recommendation {
    line-height: 1.8 !important;
    padding-top: 1rem !important;
    ;

}

.pagination {
    flex-wrap: wrap;
}

.detail ul li {
    padding: .2rem;
    line-height: 2.5;
}

/* list-dots */
.detail .list-dots li::before {
    content: "\2022";
    color: #de3748;
    ;
    font-weight: bold;
    display: inline-block;
    width: 0.8rem;
}

.detail .list-dots li ul {
    padding-left: 1.5em;
}

.detail .list-dots li ul li {
    border: none !important;
    padding: 0;
}

/* list-icon */
.detail ul.list-icon li {
    padding: .4rem;
}

.detail ul.list-icon li.icon {
    padding-left: 3.1rem;
    background-position: left center;
    background-size: 36px;
    display: flex;
}

/* ---------- */
.detail .link-primary {
    text-align: right;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.main-col,
.main {
    padding: 3rem 4rem 10rem 1rem;
    background-color: #eeeeee;
    min-height: 100vh;
    min-width: 0;
}

.home .main-col,
.home .main {
    padding: 0rem 4rem 7rem 2rem;
}

.home .container-icon {
    height: 38px;
    padding-left: 3.1rem;
    background-position: left center;
    background-size: 36px;
    display: flex;
    align-items: center;
}

/* -------------------
    Purchase process
---------------------*/
.main-purchase {
    background-color: #eeeeee;
    min-height: 100vh;
}

.logo-purchase {
    background: #fff;
    padding: 1rem 2rem;
    margin: 0 -1rem;
}

.card-purchase .form-control {
    color: #6e777d;
}

.form-control::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #adb1b3;
    padding-left: 0.5rem;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #adb1b3;
    padding-left: 0.5rem;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #adb1b3;
    padding-left: 0.5rem;
}

.row-form {
    margin-bottom: 3rem;
}

.helper-text {
    color: #505050;
    font-size: 0.8rem;
    font-weight: bold;
}

.custom-select-lg {
    border-radius: 30px;
    padding: 5px;
    font-size: 16px;
    padding: .5rem 1rem;
}

.card-selector {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.card-selector .card-info {
    position: relative;
    border: 1.5px solid #ffd1d4;
    border-radius: 10px;
    width: 100%;
    height: auto;
    padding: 2rem;
    margin: 0 auto;
}

.card-selector button {
    position: absolute;
    width: 190px;
    bottom: -19px;
    left: 50%;
    margin-left: -100px;
}

.consent-letter {
    background-color: #F7F7F7;
    padding: 3rem 4rem;
}

.consent-letter.pre-scrollable {
    max-height: 240px !important;
}

.consent-letter::-webkit-scrollbar {
    background-color: #d4dbde;
    width: 10px;
}

.consent-letter::-webkit-scrollbar-thumb {
    background-color: #ec5964;
    height: 70px;
}


@media (max-width: 768px) {

    .card-purchase,
    .card-information {
        padding-left: .7rem;
        padding-right: .7rem;
        padding-bottom: 1rem;
    }

    .row-form {
        margin-bottom: 0;
    }

    .card-purchase .form-control {
        margin-bottom: .8rem;
    }

    .card-selection {
        margin-bottom: 2rem;
    }

    .consent-letter {
        padding: 2rem 1rem;
    }

    .card-body .col-sm-12:nth-child(2) {
        margin-top: 2rem;
    }
}

/* ------- TOGGLE SWITCH ---------*/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider,
input[checked="checked"]+.slider {
    background-color: #ec5964;
}

/*#################*/

.custom-radio .custom-control-input:focus~.custom-control-label::before {
    border-color: #ec5964 !important;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-color: #ec5964 !important;
}

/* active state i.e. displayed while the mouse is being pressed down */
.custom-radio .custom-control-input:active~.custom-control-label::before {
    color: #fff;
    background-color: #ec5964;
}



###### .custom-control-input-red:focus~.custom-control-label::before {
    border-color: #ec5964 !important;
    box-shadow: 0 0 0 0.1rem #ec5964 !important;
}

.custom-control-input-red:checked~.custom-control-label::before {
    border-color: #ec5964 !important;
    background-color: #ec5964 !important;
}

.custom-control-input-red:focus:not(:checked)~.custom-control-label::before {
    border-color: #5bd778 !important;
}

.custom-control-input-red:not(:disabled):active~.custom-control-label::before {
    background-color: #d6f5dd !important;
    border-color: #d6f5dd !important;
}

/*#################*/
input:focus+.slider {
    box-shadow: 0 0 1px #ec5964;
}

input:checked+.slider:before,
input[checked="checked"]+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}


.slider.round:before {
    border-radius: 50%;
}

/* ------- STEPPER BAR ---------*/
.stepper-bar {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.stepper-bar ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    counter-reset: step;
    margin: 0;
    padding: 0;
}

.stepper-bar ul li {
    display: inline-block;
    position: relative;
    width: 33.33%;
    text-align: center;
    margin: 15px 0 8px 0;
    font-family: 'Montserrat';
    font-size: 14px;
    color: #d4dbde;
    font-weight: 700;
}

.stepper-bar ul li:before {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d4dbde;
    line-height: 2;
    text-align: center;
    content: counter(step);
    counter-increment: step;
    margin: 10px auto 3px auto;
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: bold;
}

.stepper-bar ul li:after {
    content: "";
    width: 100%;
    height: 5px;
    background-color: #d4dbde;
    position: absolute;
    top: 30px;
    left: -50%;
    z-index: 1;
}

.stepper-bar ul li:first-child:after {
    content: none;
}

.stepper-bar ul li.active {
    color: #ec5964;
    font-weight: bold;

}

.stepper-bar ul li:before {
    background-color: #d4dbde;
    color: #fff;
    font-weight: bold;
    font-family: 'Montserrat';
    border: 4px solid #fff;
}

.stepper-bar li.active+li:after {
    background-color: #ec5964;
}

.stepper-bar ul li.active:before {
    background-color: #ec5964;
    color: #fff;
}

.privacy-terms p {
    font-family: 'Montserrat';
    font-size: 16px;
}

.stepper-bar li {
    height: 75px;
}




/* .main-col h1 {
font-weight:normal;
line-height:1.1;
font-size:2.5rem;
}

h1 span {
color:#3399ff;
}

h2 {
font-weight:normal;
}

.sidebar-right {
background-color:#FFF;
padding:1rem;
} */




/* /////////////////////////////////////////////////// MEDIA */

/* -------------------
    Media Queries
---------------------*/


/* Media Queries */

@media (min-width: 992px) {
    .quote {
        display: block;
    }

    .list-items span,
    .list-items a {
        display: inline-block;
        padding: .375rem 0;
    }
}

@media (min-width: 1199px) {

    .navbar-nav,
    .navbar-nav li {
        display: inline-block;
    }

    .navbar-toggle {
        display: none;
    }

    .profile-dropdown img {
        width: 34px;
        height: 34px;
        margin-right: .5rem;
    }
}


@media (min-width: 1430px) {

    .md-cards .card {
        width: 270px;
    }

}





@media (max-width: 1198px) {

    .main-col h1 {
        font-size: 2.125rem;
    }

    .profile-dropdown {
        padding: .5rem 0;
    }

    .profile-dropdown {
        margin-left: 0;
    }

    .main-col,
    .home .main-col {
        padding: 3rem 2rem 7rem 2rem;
    }

    .detail.main-col,
    .sect.main-col {
        padding: 6rem 2rem 7rem 2rem;
    }


    .main-col .col-sidebar {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        padding: 1.5rem;
    }

    .col-sidebar {
        flex: 0 0 100%;
        min-height: 60px;
    }

    .col-sidebar.mobile {
        position: fixed;
        z-index: 1;
        right: 0;
        top: 0;
        background: white;
        padding: .8rem 1rem;
        box-shadow: 0 0 7px 3px #d0d0d0;
    }

    .col-sidebar.mobile {
        display: flex;
        justify-content: space-between;
    }

    .col-sidebar.sidebar {
        display: none;
    }

}

@media (max-width: 991px) {

    .md-cards .card {
        width: 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .main-col h1 {
        font-size: 1.75rem;
    }

    footer p {
        letter-spacing: .15em;
        font-size: 10px;
        margin: 0 .5rem 0 0;
    }

    .logo-bitgenia {
        text-indent: -9999px;
        background-size: 110px;
        width: 110px;
    }

}



@media (max-width: 767px) {
    .home section.intro p {
        padding-left: 0rem;
    }

    .col-md-auto {
        padding: 1rem;
    }

    .detail .link-primary {
        text-align: left;
    }

    main>.container>.row>.col-sidebar {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

/*
a > .card {
  color: initial;
}
*/
a.card {
    color: initial;
}

.modulo {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #666;
    margin-bottom: 1rem;
}

.modulo-destacado {
    background: rgba(255, 255, 255, .75);
    margin-top: 1rem;
    border-bottom: 0 none;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
}

.modulo h3 {
    font-size: 1.125rem;
}

.ilustration {
    max-width: 200px;
}

.accordion .card-header:after {
    font-family: 'FontAwesome';
    content: "\f106";
    float: right;
    color: #343a40;
}

.accordion .card-header.collapsed::after {
    /* symbol for "collapsed" panels */
    content: "\f107";
}

.accordion .health_sidebar::after {
    font-family: 'FontAwesome';
    content: "\f106";
    float: right;
    color: #343a40;
}

.accordion .health_sidebar.collapsed::after {
    /* symbol for "collapsed" panels */
    content: "\f107";
}

.accordion .card-header {
    padding: 0.75rem 1.25rem;
}

.accordion .card:hover {
    border: 1px solid #000 !important;
    box-sizing: border-box;
}

.accordion .card:first-of-type {
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.error_image {
    width: 491px;
    height: 206px;
    object-fit: contain;
}

.sorry {
    width: 313px;
    height: 34px;
    font-family: Montserrat;
    font-size: 1.75rem;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

.Rectangle_body {
    width: 1366px;
    height: 768px;
    background-color: #eeeeee;
}

.error_description {
    width: 708px;
    height: 29px;
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

.fluid-container {
    padding: 0 1rem;
}

.kit-border {
    border: 2px dashed #ccc;
}

.text-home-card-title {
    font-family: Montserrat;
    font-size: 1.25rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #000000;
}

.text-home-card-description {
    font-family: SourceSansPro-Regular;
    font-size: 1rem;
    ;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #000000;
}

.pills {
    border-radius: 16px;
}

.text-pills {
    font-family: "SourceSansPro-SemiBold";
    font-size: 0.8rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.face {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.Ver-detalle {
    font-family: SourceSansPro-SemiBold;
    font-size: 0.8rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}


.see-detail {
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.card-description {
    font-family: SourceSansPro-Regular;
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #000000;
}

.text-pills-variant-detail {
    font-family: "SourceSansPro-SemiBold";
    font-size: 1rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.Rectangle-variant-detail {
    border-radius: 16.5px;
}

.interpret_this_test_title {
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

.interpret_this_test_description {
    font-family: "SourceSansPro-Regular";
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #000000;
}

.card-normal-value {
    font-family: Montserrat;
    font-size: 1.25rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

.values-title {
    font-family: Montserrat;
    font-size: 1.25rem;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
}

values-description {
    font-family: "SourceSansPro-Regular";
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #000000;
}

.title-list {
    font-family: Montserrat;
    font-size: 1, 75rem;
}

.link-label {
    font-family: "SourceSansPro-Regular";
    font-size: 1rem;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.text-result {
    font-family: Montserrat;
    font-size: 1rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.title-accordion {
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
}

.description-accordion,
.description-accordion p {
    font-family: "SourceSansPro-Regular";
    font-size: 1rem !important;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #000000;
}

.title-recommendation-detail {
    font-family: Montserrat;
    font-size: 1.5rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
}

.border-none ul li {
    border: hidden;
    padding: .1rem;
    line-height: 1.5;
}


.border-none ul li:first-child {
    border-top: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.table-fixed-head {
    overflow-y: auto;
    height: 50vh;
    /* !!!  HEIGHT MUST BE IN [ vh ] !!! */
}

.table-fixed-head thead th {
    position: sticky;
    top: 0;
}

.select_border_none {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 2px 30px 2px 2px;
    border: none;
    background:
        transparent no-repeat right center;
    color: #000;
    pointer-events: none;
}

/* table tr {
    padding: 5px;
}

table td {
    background: #eeeeee;

    margin: 5px;
} */


.tabla-texto-enriquecido table,
.tabla-texto-enriquecido th,
.tabla-texto-enriquecido td,
.tabla-texto-enriquecido tr {
    border-collapse: separate;
    border-spacing: 3px;
}

.tabla-texto-enriquecido td {
    border-spacing: 0 10px;
    background: #e3e3e3;
    padding: 5px;
    border: solid 4px #eeeeee;
}

.logo-manlab {
    background: url(images/logo-manlab.png) no-repeat center;
    background-size: 130px;
    width: 130px;
    height: 50px;
    margin: 0;
    text-indent: -9999px;
    display: inline-block;
    line-height: 1.25
}

:root {
    --brand-dim: color-mix(in srgb, var(--brand, #d04b57) 10%, transparent);
    --brand-mid: color-mix(in srgb, var(--brand, #d04b57) 22%, transparent);
    --brand-solid: color-mix(in srgb, var(--brand, #d04b57) 90%, #000);
    --surface: #ffffff;
    --surface-2: #f7f6f4;
    --surface-3: #f0efed;
    --border: rgba(0, 0, 0, 0.09);
    --text: #111110;
    --text-2: #3d3a37;
    --text-3: #9a9691;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.09), 0 2px 4px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ------------------------------------------------------------
   Page wrappers
   .kits-page / .users-page / .health-page / .dash / .staff-page
   ------------------------------------------------------------ */
.kits-page,
.users-page,
.health-page,
.dash,
.staff-page {
    padding: 16px;
    padding-bottom: max(48px, calc(32px + env(safe-area-inset-bottom)));
    color: var(--text);
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

@media (min-width: 540px) {

    .kits-page,
    .users-page,
    .health-page,
    .dash,
    .staff-page {
        padding: 24px;
        padding-bottom: max(56px, calc(40px + env(safe-area-inset-bottom)));
    }
}

@media (min-width: 900px) {

    .kits-page,
    .users-page,
    .health-page,
    .dash,
    .staff-page {
        padding: 32px 36px;
        padding-bottom: 64px;
    }
}

/* ------------------------------------------------------------
   Page header
   ------------------------------------------------------------ */
.page-header,
.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.page-title,
.dash-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.2;
}

.page-title::before,
.dash-title::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand, #d04b57);
    flex-shrink: 0;
}

.page-subtitle,
.dash-subtitle {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 3px;
    font-weight: 500;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 900px) {

    .page-title,
    .dash-title {
        font-size: 24px;
    }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    min-height: 36px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-action:hover,
.btn-action:active {
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    background: var(--brand-dim);
    text-decoration: none;
}

.btn-create,
.btn-action-primary {
    background: var(--brand, #d04b57);
    color: #fff;
    border-color: var(--brand, #d04b57);
}

.btn-create:hover,
.btn-create:active,
.btn-action-primary:hover,
.btn-action-primary:active {
    background: var(--brand-solid);
    border-color: var(--brand-solid);
    color: #fff;
}

.btn-danger-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    padding: 7px 12px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-sm);
    background: #fef2f2;
    min-height: 36px;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.12s;
}

.btn-danger-filter:hover {
    background: #fee2e2;
}

.btn-danger-sm {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: #fef2f2;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.btn-danger-sm:hover {
    background: #fee2e2;
    text-decoration: none;
}

.btn-report {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    border: 1px solid var(--border);
    background: var(--surface-2);
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.btn-report:hover {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    text-decoration: none;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    text-decoration: none;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    min-height: 36px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-download:hover,
.btn-download:active {
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    background: var(--brand-dim);
    text-decoration: none;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-2);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.btn-icon:hover,
.btn-icon:active {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    text-decoration: none;
}

.btn-icon-danger {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
    background: #fef2f2;
}

.btn-icon-danger:hover,
.btn-icon-danger:active {
    background: #fee2e2;
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.35);
}

.btn-assign {
    display: block;
    width: 100%;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand, #d04b57);
    border: 1px solid var(--brand-mid);
    background: var(--brand-dim);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.btn-assign:hover {
    background: var(--brand-mid);
}

.btn-kit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-size: 11px;
    text-decoration: none;
    margin-right: 6px;
    transition: background 0.15s, transform 0.15s;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.btn-kit-icon:hover {
    background: var(--brand, #d04b57);
    transform: scale(1.08);
    text-decoration: none;
}

/* ------------------------------------------------------------
   Filter bar  (info_health_list)
   ------------------------------------------------------------ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-bar input[type="text"],
.filter-bar input[type="date"],
.filter-bar input[type="number"] {
    flex: 1;
    min-width: 140px;
    max-width: 300px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.filter-bar input:focus {
    border-color: var(--brand, #d04b57);
    box-shadow: 0 0 0 3px var(--brand-dim);
}

.filter-bar select {
    height: 36px;
    padding: 0 30px 0 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9691' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-bar select:focus {
    border-color: var(--brand, #d04b57);
}

.trait-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.trait-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-2);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.trait-tab:hover {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
}

.trait-tab.active {
    background: var(--brand, #d04b57);
    color: #fff;
    border-color: var(--brand, #d04b57);
}

.badge-count {
    display: inline-flex;
    align-items: center;
    padding: 1px 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.trait-tab:not(.active) .badge-count {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
}

/* ------------------------------------------------------------
   Table scroll wrapper
   ------------------------------------------------------------ */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}

/* ------------------------------------------------------------
   Tables
   .kits-table / .users-table / .health-table / .staff-table
   ------------------------------------------------------------ */
.kits-table,
.users-table,
.health-table,
.staff-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 13.5px;
    background: var(--surface);
}

.kits-table thead tr,
.users-table thead tr,
.health-table thead tr,
.staff-table thead tr {
    background: var(--brand, #d04b57);
}

.kits-table thead th,
.users-table thead th,
.health-table thead th,
.staff-table thead th {
    padding: 12px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    border: none;
    vertical-align: middle;
    user-select: none;
    cursor: default;
    position: relative;
}

.kits-table thead th.filterable,
.users-table thead th.filterable,
.staff-table thead th.filterable {
    cursor: pointer;
}

.kits-table thead th.filterable:hover,
.users-table thead th.filterable:hover,
.staff-table thead th.filterable:hover {
    background: color-mix(in srgb, var(--brand, #d04b57) 80%, #000);
}

.filter-tag {
    font-size: 9.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0;
    text-transform: none;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.column-search {
    margin-top: 4px;
    display: none;
}

.kits-table thead th input.form-control,
.users-table thead th input.form-control,
.staff-table thead th input.form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 12px;
    border-radius: 6px;
    padding: 5px 8px;
    width: 100%;
    min-height: 32px;
    outline: none;
    transition: background 0.15s, border-color 0.15s;
}

.kits-table thead th input.form-control::placeholder,
.users-table thead th input.form-control::placeholder,
.staff-table thead th input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.kits-table thead th input.form-control:focus,
.users-table thead th input.form-control:focus,
.staff-table thead th input.form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.kits-table tbody tr,
.users-table tbody tr,
.health-table tbody tr,
.staff-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.kits-table tbody tr:last-child,
.users-table tbody tr:last-child,
.health-table tbody tr:last-child,
.staff-table tbody tr:last-child {
    border-bottom: none;
}

.kits-table tbody tr:hover,
.users-table tbody tr:hover,
.health-table tbody tr:hover,
.staff-table tbody tr:hover {
    background: var(--surface-2);
}

.kits-table tbody td,
.users-table tbody td,
.health-table tbody td,
.staff-table tbody td {
    padding: 11px 14px;
    color: var(--text-2);
    font-weight: 500;
    vertical-align: middle;
    white-space: nowrap;
}

@media (hover: none) {

    .kits-table tbody tr:hover,
    .users-table tbody tr:hover,
    .health-table tbody tr:hover,
    .staff-table tbody tr:hover {
        background: transparent;
    }
}

/* ------------------------------------------------------------
   Table cell helpers
   ------------------------------------------------------------ */
.cell-meta {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 2px;
}

.cell-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-3);
}

.cell-email {
    font-size: 13px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cell-kit {
    font-size: 12px;
}

.cell-traits {
    text-align: center;
}

.cell-sex {
    white-space: nowrap;
}

.cell-group {
    font-size: 12.5px;
    color: var(--text-2);
}

.cell-actions {
    text-align: right;
    min-width: 110px;
}

.actions-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.trait-name {
    font-weight: 600;
    color: var(--text);
    font-size: 13.5px;
}

/* ------------------------------------------------------------
   Badges & pills
   ------------------------------------------------------------ */
.traits-badge,
.badge-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border: 1px solid var(--brand-mid);
}

.type-badge,
.badge-type {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border: 1px solid var(--brand-mid);
    white-space: nowrap;
}

.badge {
    margin-left: auto;
    font-size: 10.5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    font-weight: 600;
    flex-shrink: 0;
    border: 1px solid var(--brand-mid);
}

.sex-male {
    color: #2563eb;
    font-weight: 700;
}

.sex-female {
    color: #db2777;
    font-weight: 700;
}

.sex-unknown {
    color: var(--text-3);
    font-weight: 500;
}

/* ------------------------------------------------------------
   Links inside tables
   ------------------------------------------------------------ */
.kit-id-link,
.po-link,
.kit-link,
.table-link {
    color: var(--brand, #d04b57);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s;
}

.kit-id-link:hover,
.po-link:hover,
.kit-link:hover,
.table-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* ------------------------------------------------------------
   Form controls inside tables
   ------------------------------------------------------------ */
.sex-select {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    width: 100%;
    min-height: 30px;
    margin-bottom: 5px;
    outline: none;
    color: var(--text-2);
    cursor: pointer;
}

.sex-dropdown {
    margin-top: 4px;
}

.sex-dropdown select {
    background: rgba(0, 0, 0, 0.55);
    color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    width: 100%;
    min-height: 32px;
    cursor: pointer;
    outline: none;
}

.kit-checkbox {
    accent-color: var(--brand, #d04b57);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ------------------------------------------------------------
   Column toggle dropdown  (kits page)
   ------------------------------------------------------------ */
.dropdown {
    position: static !important;
}

.dropdown-menu[aria-labelledby="columnsDropdown"] {
    position: fixed !important;
    z-index: 9999 !important;
    min-width: 220px;
    max-height: 420px;
    overflow-y: auto;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 6px 0;
    box-shadow: var(--shadow-md);
}

.dropdown-menu[aria-labelledby="columnsDropdown"] .form-check {
    padding: 7px 14px !important;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.1s;
}

.dropdown-menu[aria-labelledby="columnsDropdown"] .form-check:hover {
    background: rgba(255, 255, 255, 0.07);
}

.dropdown-menu[aria-labelledby="columnsDropdown"] .form-check-input {
    accent-color: var(--brand, #d04b57);
    margin: 0;
    position: static;
    float: none;
    flex-shrink: 0;
    cursor: pointer;
}

.dropdown-menu[aria-labelledby="columnsDropdown"] .form-check-label {
    color: #fff;
    font-size: 13px;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.column-hidden {
    display: none !important;
}

/* users action dropdown */
.users-table .dropdown-toggle {
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    min-height: 32px;
    white-space: nowrap;
    color: var(--text-2);
    background: var(--surface-2);
    border: 1px solid var(--border);
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.users-table .dropdown-toggle:hover,
.users-table .dropdown-toggle:focus {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    box-shadow: none;
}

.users-table .dropdown-menu {
    font-size: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 4px 0;
    min-width: 180px;
}

.users-table .dropdown-item {
    font-weight: 600;
    padding: 9px 14px;
    color: var(--text-2);
    transition: background 0.1s, color 0.1s;
}

.users-table .dropdown-item:hover,
.users-table .dropdown-item:active {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
}

.users-table .dropdown-item.text-danger {
    color: #dc2626;
}

.users-table .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.users-table .dropdown-menu .user-group-select {
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 6px 8px;
    color: var(--text-2);
    background: var(--surface-2);
    width: 100%;
    outline: none;
    margin-bottom: 6px;
}

.users-table .dropdown-menu .assign-btn {
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 10px;
    width: 100%;
    color: var(--brand, #d04b57);
    border: 1px solid var(--brand-mid);
    background: var(--brand-dim);
    cursor: pointer;
    transition: background 0.12s;
    -webkit-tap-highlight-color: transparent;
}

.users-table .dropdown-menu .assign-btn:hover {
    background: var(--brand-mid);
}

.users-table .dropdown-divider {
    border-color: var(--border);
    margin: 4px 0;
}

/* ------------------------------------------------------------
   Dashboard — section cards
   ------------------------------------------------------------ */
.section-grid {
    columns: 2;
    column-gap: 11px;
}

@media (min-width: 700px) {
    .section-grid {
        columns: 3;
    }
}

@media (min-width: 1000px) {
    .section-grid {
        columns: 4;
    }
}

.section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    break-inside: avoid;
    margin-bottom: 11px;
    transition: box-shadow 0.2s, transform 0.2s;
    will-change: transform;
}

@media (hover: hover) and (min-width: 900px) {
    .section-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

@media (hover: none) {
    .section-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
}

.section-card-header {
    padding: 11px 15px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--brand, #d04b57);
    background: var(--brand-dim);
    border-bottom: 1px solid var(--brand-mid);
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-card-header::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--brand, #d04b57);
}

.section-card ul {
    list-style: none;
    margin: 0;
    padding: 3px 0;
}

.section-card li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.3;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.1s, color 0.1s;
}

.section-card li:last-child a {
    border-bottom: none;
}

.section-card li a:hover,
.section-card li a:active {
    background: var(--brand-dim);
    color: var(--brand, #d04b57);
    text-decoration: none;
}

.section-card li a::after {
    content: '›';
    margin-left: auto;
    padding-left: 8px;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.2;
    flex-shrink: 0;
    transition: opacity 0.15s, transform 0.15s;
}

.section-card li a:has(.badge)::after {
    display: none;
}

.section-card li a:hover::after,
.section-card li a:active::after {
    opacity: 0.55;
    transform: translateX(2px);
}

.link-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.35;
    transition: opacity 0.15s;
}

.section-card li a:hover .link-icon,
.section-card li a:active .link-icon {
    opacity: 0.75;
}

@media (min-width: 900px) {
    .section-card li a {
        padding: 10px 15px;
        font-size: 13.5px;
    }
}

/* ------------------------------------------------------------
   Dashboard — tabs
   ------------------------------------------------------------ */
.tabs-wrapper {
    position: relative;
    margin-bottom: 18px;
}

.tabs {
    display: flex;
    gap: 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    cursor: pointer;
    white-space: nowrap;
    flex: 1;
    scroll-snap-align: start;
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

.tab-btn:hover {
    color: var(--text-2);
    background: rgba(0, 0, 0, 0.04);
}

.tab-btn.active {
    background: var(--surface);
    color: var(--brand, #d04b57);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

@media (min-width: 540px) {
    .tabs {
        width: fit-content;
    }

    .tab-btn {
        flex: initial;
        padding: 10px 18px;
    }
}

/* ------------------------------------------------------------
   Dashboard — admin cards
   ------------------------------------------------------------ */
.admin-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
}

.admin-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    text-decoration: none;
    color: var(--text);
    opacity: 0;
    transform: translateY(8px);
    box-shadow: var(--shadow-sm);
    min-height: 100px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: box-shadow 0.18s, transform 0.18s, opacity 0.18s, background 0.15s, border-color 0.15s;
}

.admin-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-card:hover,
.admin-card:active {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px) !important;
    background: var(--brand-dim);
    border-color: var(--brand-mid);
    color: var(--brand, #d04b57);
    text-decoration: none;
}

@media (hover: none) {
    .admin-card:hover {
        transform: none !important;
    }
}

.admin-card-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.admin-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 9px;
    background: var(--brand-dim);
    border: 1px solid var(--brand-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.admin-card-icon img {
    width: 40px;
    height: 40px;
}

.admin-card:hover .admin-card-icon,
.admin-card:active .admin-card-icon {
    background: var(--brand-mid);
}


.admin-card-label {
    font-size: 15px;
    font-weight: 700;
}

.admin-card-arrow {
    font-size: 18px;
    opacity: 0.25;
    transition: opacity 0.15s, transform 0.15s;
}

.admin-card:hover .admin-card-arrow,
.admin-card:active .admin-card-arrow {
    opacity: 0.7;
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   Misc
   ------------------------------------------------------------ */
.pagination-wrap {
    margin-top: 20px;
}

.superuser-bar {
    display: flex;
    justify-content: flex-end;
    padding: 10px 16px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.superuser-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    white-space: nowrap;
    min-height: 36px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.superuser-link:hover,
.superuser-link:active {
    color: var(--brand, #d04b57);
    border-color: var(--brand-mid);
    background: var(--brand-dim);
    text-decoration: none;
}

.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--text-3);
    font-size: 14px;
}

.empty-state svg {
    opacity: 0.25;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* page-title-count — inline count next to title */
.page-title-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
}

/* upgrade select inside bulk actions bar */
.upgrade-select {
    height: 36px;
    padding: 0 30px 0 10px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9691' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.upgrade-select:focus {
    border-color: var(--brand, #d04b57);
}

/* btn-action-primary — solid brand button */
.btn-action-primary {
    background: var(--brand, #d04b57);
    color: #fff;
    border-color: var(--brand, #d04b57);
}

.btn-action-primary:hover,
.btn-action-primary:active {
    background: var(--brand-solid);
    border-color: var(--brand-solid);
    color: #fff;
}

/* order status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.status-approved {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.status-done {
    background: var(--surface-2);
    color: var(--text-3);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {

    .col-sidebar.mobile > .d-flex.align-items-top {
        display: none !important;
    }

    .col-sidebar.mobile {
        justify-content: flex-end;
        align-items: center;
    }

}

@media (max-width: 1198px) {

    .col-sidebar.mobile {
        z-index: 1040;
    }

    .mobile .dropdown-menu {
        width: min(320px, calc(100vw - 24px));
        max-height: calc(100vh - 88px);
        margin-top: .5rem;
        padding: .35rem 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    }

    .mobile .dropdown-item {
        min-width: 0;
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: .6rem 1rem;
        border-bottom: 1px solid #f2f2f2;
        font-size: .95rem;
        line-height: 1.3;
    }

    .mobile .dropdown-menu > .dropdown-item:last-child {
        border-bottom: 0 none;
    }

    .mobile .icon {
        padding-left: 3.1rem;
        background-position: 1rem center !important;
        background-size: 22px !important;
    }

    .mobile .dropdown-item.active {
        background-color: #fdf3f4;
        box-shadow: inset 3px 0 0 #de3748;
    }

    .mobile .dropdown-menu > .mobile-menu-search {
        box-sizing: border-box;
        width: 100%;
        padding: .6rem 1rem;
        border-bottom: 1px solid #f2f2f2;
    }

    .mobile .dropdown-menu .trait_search {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        height: 42px;
        border-radius: 8px;
        border-color: #d8d8d8;
        font-size: 15px;
    }

    .mobile .dropdown-menu #result {
        max-width: 100%;
        overflow-x: hidden;
    }

}
