:root {


  --light-bg: #F9F9F9;
  --dark-text: #1a1a1a;
  --gray: #777;

/* Primary - Teal */
  --primary: #0E7A74;
  --primary-light-10: #278B86;
  --primary-light-20: #419C97;
  --primary-light-30: #5AAEA9;
  --primary-light-40: #74BFBA;
  --primary-light-50: #8DD1CC;
  --primary-light-60: #A7E2DD;
  --primary-light-70: #C0F3EF;
  --primary-light-80: #D2F7F5;
  --primary-light-90: #E5FBFA;
  --primary-dark-10: #0C6D68;
  --primary-dark-20: #0B605C;
  --primary-dark-30: #094350;
  --primary-dark-40: #073643;
  --primary-dark-50: #052A37;
  --primary-dark-60: #041D2A;
  --primary-dark-70: #02101E;
  --primary-dark-80: #010411;
  --primary-dark-90: #000000;


    /* Primary Type 2 - Dark Teal (#183A3D) */
  --primary-type2: #183A3D;
  --primary-type2-light-10: #2F4D50;
  --primary-type2-light-20: #456163;
  --primary-type2-light-30: #5C7476;
  --primary-type2-light-40: #738889;
  --primary-type2-light-50: #899B9C;
  --primary-type2-light-60: #A0AFAF;
  --primary-type2-light-70: #B6C2C2;
  --primary-type2-light-80: #CDD6D5;
  --primary-type2-light-90: #E3E9E8;
  --primary-type2-dark-10: #143135;
  --primary-type2-dark-20: #11292D;
  --primary-type2-dark-30: #0E2125;
  --primary-type2-dark-40: #0B191D;
  --primary-type2-dark-50: #081015;
  --primary-type2-dark-60: #05080D;
  --primary-type2-dark-70: #020005;
  --primary-type2-dark-80: #000000;
  --primary-type2-dark-90: #000000;


  /* Secondary - Purple */
  --secondary: #AA438F;
  --secondary-light-10: #B35A9C;
  --secondary-light-20: #BC71AA;
  --secondary-light-30: #C588B7;
  --secondary-light-40: #CF9FC5;
  --secondary-light-50: #D8B6D2;
  --secondary-light-60: #E1CCE0;
  --secondary-light-70: #EAE3ED;
  --secondary-light-80: #F3F0F5;
  --secondary-light-90: #FAF7FB;
  --secondary-dark-10: #993C80;
  --secondary-dark-20: #883571;
  --secondary-dark-30: #772E63;
  --secondary-dark-40: #662755;
  --secondary-dark-50: #551F47;
  --secondary-dark-60: #441838;
  --secondary-dark-70: #33112A;
  --secondary-dark-80: #220A1C;
  --secondary-dark-90: #11030D;

  /* Accent - Rust */
  --accent: #B2581B;
  --accent-light-10: #BB692F;
  --accent-light-20: #C47B44;
  --accent-light-30: #CD8C58;
  --accent-light-40: #D69D6D;
  --accent-light-50: #DEAF81;
  --accent-light-60: #E7C096;
  --accent-light-70: #F0D1AA;
  --accent-light-80: #F9E2BF;
  --accent-light-90: #FFF3D4;
  --accent-dark-10: #9F4F18;
  --accent-dark-20: #8C4615;
  --accent-dark-30: #793C12;
  --accent-dark-40: #66330F;
  --accent-dark-50: #532A0C;
  --accent-dark-60: #402109;
  --accent-dark-70: #2D1706;
  --accent-dark-80: #1A0E03;
  --accent-dark-90: #070500;


  --bs-border-radius:        25px;
  --bs-border-radius-sm:      8px;
  --bs-border-radius-lg:     16px;
  --bs-border-radius-xl:     20px;
  --bs-border-radius-xxl:    28px;
  --bs-border-radius-pill:  9999px;

  /* Common component radii (optional overrides) */
  --bs-btn-border-radius:       var(--bs-border-radius);
  --bs-card-border-radius:      14px;
  --bs-input-border-radius:     var(--bs-border-radius);
  --bs-dropdown-border-radius:  var(--bs-border-radius);
  --bs-modal-border-radius:     var(--bs-border-radius-lg);
  --bs-alert-border-radius:     var(--bs-border-radius);
  --bs-progress-border-radius:  var(--bs-border-radius-pill);
  --bs-badge-border-radius:     var(--bs-border-radius);
  --bs-tooltip-border-radius:   var(--bs-border-radius);
  --bs-offcanvas-border-radius: var(--bs-border-radius);




  --nunito-regular: 400 normal 1rem/1.5 "nunito-sans", sans-serif;
  --nunito-semibold-italic: 600 italic 1rem/1.5 "nunito-sans", sans-serif;
  --nunito-bold: 700 normal 1rem/1.5 "nunito-sans", sans-serif;

  --ivymode-light: 300 normal 1rem/1.5 "ivymode", sans-serif;
  --ivymode-regular: 400 normal 1rem/1.5 "ivymode", sans-serif;
  --ivymode-semibold-italic: 600 italic 1rem/1.5 "ivymode", sans-serif;
  --ivymode-bold: 600 normal 1rem/1.5 "ivymode", sans-serif;





    /* If you use dark mode via data-bs-theme="dark", mirror or tweak there: */
    [data-bs-theme="dark"] {
      --bs-card-border-radius: 14px;
    }



}




body {

  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  position:unset;
  color: var(--dark-text);

}


h1,h2,h3,h4,h5,h6,button,.signin-hero__tagline {
  font-family: "ivymode", sans-serif;
  font-weight: 400;
  font-style: normal;
}



a {
    color: var(--primary);
    
}


.toggle-switch label {
    margin-top: 6px;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
}


/* Page */



.info_badge {
  background:var(--lime-green-light-70);
  border:1px solid var(--lime-green-light-50);
  padding:10px 25px;
  width:100%;
  border-radius:var(--bs-border-radius);
}
.info_badge2 {
  background:var(--teal-green-light-70);
  border:1px solid var(--teal-green-light-50);
  padding:10px 25px;
  width:100%;
  border-radius:var(--bs-border-radius);
  display:flex;
  justify-content: left;
  align-items: center;
  font-size:14px;
  margin-bottom:15px;
}
.info_badge2 i {
  margin-right:15px;
  color:var(--teal-green)
}

.pre-badge {
    font-family: monospace;
    font-size: 20px;
    padding: 5px;
    background: #eee;
    border-radius: 4px;
}

.display_block {display: block;}

/* ===== Sidebar width system ===== */
:root{
  --bp-sidebar-w: 300px;      /* expanded width */
  --bp-sidebar-w-collapsed: 0px; /* icon-only collapsed width */
}

/* Desktop (≥1200px): header & main offset by sidebar width */
@media (min-width: 1200px){
  .sidebar-nav-wrapper{ width: var(--bp-sidebar-w); left: 0; }

  .header{
    left: var(--bp-sidebar-w);
    
    transition: left .2s ease, width .2s ease;
  }

  .main-wrapper.active .header {
    left: 0;
    width: 100%;
    
  }

  .main-wrapper{
    margin-left: var(--bp-sidebar-w);
    transition: margin-left .2s ease;
  }

  /* When the sidebar is collapsed (PlainAdmin toggles .active) */
  .sidebar-nav-wrapper.active{ width: var(--bp-sidebar-w-collapsed); }

  /* If JS also adds .active to header/main, support that: */
  .header.active{
    left: var(--bp-sidebar-w-collapsed);
    width: calc(100% - var(--bp-sidebar-w-collapsed));
  }
  .main-wrapper.active{
    margin-left: var(--bp-sidebar-w-collapsed);
  }

  /* If JS only toggles the SIDEBAR (not header/main), react via sibling selector */
  .sidebar-nav-wrapper.active ~ .header{
    left: var(--bp-sidebar-w-collapsed);
    width: calc(100% - var(--bp-sidebar-w-collapsed));
  }
  .sidebar-nav-wrapper.active ~ .main-wrapper{
    margin-left: var(--bp-sidebar-w-collapsed);
  }
}

/* Mobile & tablet (<1200px): sidebar is off-canvas; content stays full width */
@media (max-width: 1199.98px){
  .sidebar-nav-wrapper{
    left: calc(-1 * var(--bp-sidebar-w));
    width: var(--bp-sidebar-w);
  }
  .sidebar-nav-wrapper.active{ left: 0; }
  .header{ left: 0; width: 100%; }
  .main-wrapper{ margin-left: 0; }
}




.header .header-right .profile-box .dropdown-menu {
  min-width:300px;
}


section .container-fluid {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1400px;
}

.header {
    border-bottom: 1px solid #eee;
}



a:hover {
    color: var(--charcoal-light-10);
}

.card {
  border-color:#eee;

}
.card-header {
    padding:30px 30px 20px 30px;
    background:transparent;
    border-color: #eee;
    
}
.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
    padding: 30px;
}
.card-bread {
  font-size:14px;
  font-weight:400;
  color:var(--bs-secondary-color);
}
.card-style {
    background: #fff;
    box-sizing: border-box;
    padding: 25px 30px;
    position: relative;
    box-shadow: 0px 12px 24px -4px rgba(145, 158, 171, 0.12), 0px 0px 2px 0px rgba(145, 158, 171, 0.2);
    border-radius: 25px;
}

.background-1 {
  background: var(--lime-green-light-70);
}
.background-1-2 {
  background: var(--lime-green-light-50);
}
.background-2 {
  background: var(--teal-green-light-80);
}
.background--2-1 {
  background: var(--teal-green-light-60);
}


.margin-bottom_10px {
  margin-bottom:10px;
}

.list-group-item {
  
  font-weight: 500;
}
.list-group-item i {
  background:var(--primary);
  color:var(--dark-text);
  border-radius:50%;
  width:25px;
  height:25px;
  display:inline-flex;
  justify-content: center;
  align-items: center;
  margin-right:10px;
  font-size:12px;
}
 .list-group-item {
        padding: 0.75rem 1.25rem;
        border: none;
    }
    .list-group-item a {
        text-decoration: none;
    }
    .list-group-item a:hover {
        text-decoration: underline;
    }


.list-group-flush {

}

.number-icon {
  display:inline-flex;
  justify-content: center;
  align-items: center;
  border-radius:50%;
  width:35px;
  height:35px;
  color:var(--dark-text);
  background:var(--primary);
  font-size:20px;
  font-weight:700;
  margin-right:20px;
}

.number-icon-fa {
  display:inline-flex;
  justify-content: center;
  align-items: center;
  border-radius:50%;
  width:35px;
  height:35px;
  color:var(--dark-text);
  background:var(--primary);
  font-size:20px;
  font-weight:700;
  margin-right:20px;
}

.statusline {
  font-size:13px;
  font-weight:500;
}

.text-primary {
  color:var(--lime-green-dark-90)!important;
  font-weight:600;
}

.color-theme {
  color:var(--primary-light-50)!important;
}
 
.breadcrumb {
  font-size:13px;
  font-weight:400;
   color:var(--lime-green-dark-80);
  padding:0;
  margin-bottom:10px;
}

h5, .h5 {
    font-size: 21px;
    font-weight: 500;
}
.weight300 {
  font-weight:300;
}
.badge {
   
    --bs-badge-font-weight: 500;
    --bs-badge-font-size: 0.8em;
    
}

.title-wrapper .breadcrumb-wrapper, .title-wrapper .title {
  margin-bottom:0;
}

.title-wrapper {
  padding-bottom:25px;
}

.borderradius {
  border-radius: var(--bs-border-radius)!important;
}


.alignright {
  margin-left:auto;
  text-align: right;
  justify-content: right;
} 


.partner-box i {
  margin-right:10px;
  background:var(--teal-green-dark-10);
  color:#FFF;
}

/* Vertical Steps */
.v-step-titles {
    display: inline-block;
    margin-bottom: 5px !important;
}
.v-steps { position: relative; }
.v-step {
    position: relative;
    padding-left: 70px;
    padding-right: 32px;
    margin: 0 0 18px 0;
}
.v-step:last-child { margin-bottom: 0; }




/* connector line to the next step */
.v-step::after {
    content: "";
    position: absolute;
    left: 25px;
    top: 55px;
    bottom: -10px;
    width: 2px;
    background: var(--bs-border-color);
    opacity: .6;
}
.v-step:last-child::after { content: none; }

/* numbered circle */
.v-step__icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 17px;
    border: 2px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-secondary-color);
}

/* content + meta */
.v-step__content { min-height: 50px; }
.v-step__title {
    font-weight: 600;
    display: inline-flex;
}
.v-step__meta { display: flex; align-items: center; gap: 8px; }
.v-step__date { font-size: .875rem; color: var(--bs-secondary-color); }
.v-step__desc { color: var(--bs-secondary-color); max-width:400px; }

/* actions (3 dots) */
.v-step__actions {
  position: absolute;
  top: 0; right: 0;
}
.v-step__actions .btn { line-height: 1; }

/* states */
.v-step.is-done .v-step__icon {
    background: var(--teal-green);
    color: #FFF;
    border-color: var(--teal-green-light-10);
}
.v-step.is-done::after {
  background: var(--teal-green);
  opacity: .35;
}
.v-step.is-current .v-step__icon {
    background: var(--primary);
    color: var(--dark-text);
    border-color: var(--primary);
    animation: pulse 1.5s infinite;
    border-radius: 50%;
  
}


/* Keyframes for smooth pulsing */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 238, 68, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(201, 238, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 238, 68, 0);
  }
}



/* dark mode tweaks (optional) */
[data-bs-theme="dark"] .v-step__icon {
  background: var(--bs-body-bg);
  border-color: var(--bs-border-color);
}




.accordion-button:not(.collapsed) {
    color: var(--dark-text);
    background-color: var(--teal-green-light-90);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}




/* Buttons */

button.draftbutton {
    margin-right: auto;
    background: #ddd;
}

.primary-btn {
    background: var(--primary);
    color: var(--dark-text);
}
.btn-primary {
    background: var(--lime-green-light-50);
    color: var(--dark-text);
    border-color:var(--lime-green-light-20);
}
.btn-primary:hover, .btn-primary:active {
    background: var(--primary);
    color: var(--dark-text);
    border-color:var(--lime-green-dark-10);
}

.btn-primary i {margin-right:10px;}

.btn-hover {
    position: relative;
    overflow: hidden;
}
#submit-btn {
  font-weight:500;
}
.main-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 15px 45px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    border-radius: 15px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.4s ease-in-out;
    border: 1px solid transparent;
    overflow: hidden;
    background: var(--primary);
    color: var(--dark-text);
    font-weight:500;
}

.main-btn i {
  margin-right:10px;
}

.main-btn:hover {
  background: var(--lime-green-dark-10);
  color: var(--dark-text);
}

@media only screen and (max-width: 767px) {
    .apply-button {
        margin-top:15px;
    }
}

/* Chart */

.progress-bar {
  background-color:var(--lime-green-dark-20);
}

/* Menu/Sidebar */


.sidebar-nav-wrapper {
  overflow-y: unset;
  background:var(--dark-text);
  
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a span.text {
    font-size: 16px;
    font-weight: 300;
    color: #FFF;
}
.sidebar-nav-wrapper .sidebar-nav ul .nav-item #superadmin_menu span.text {
    font-size: 13px;
    font-weight: 300;
    color: #FFF;
}
.sidebar-nav-wrapper .sidebar-nav ul .nav-item a span.text:hover {
    color: var(--charcoal-light-70);
}
.sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon {
  font-size: 16px;
  color:var(--primary);
  margin-right:15px;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a {
    padding: 7px 35px;
}


.menu-title {
  color:#999;
  font-size:12px;
  text-transform: uppercase;
  margin-left:35px;
  margin-bottom:15px;
}
.sidebar-nav-wrapper .navbar-logo {
  text-align: center;
}

.menu_divider {
    border-bottom:1px solid var(--charcoal-light-20);
    margin-bottom:10px;
    margin-top:10px;

}



/* Header */

button#menu-toggle {
    color: #000;
    background: transparent;
    font-weight:300;
}



/* Buttons */


/* Knapp bakgrunn uansett nyanse */
.bg-brand-50,
.bg-brand-100,
.bg-brand-200,
.bg-brand-300,
.bg-brand-400,
.bg-brand-500,
.bg-brand-600,
.bg-brand-700,
.bg-brand-800,
.bg-brand-900 {
    background-color: var(--primary) !important;
}

/* Tekstfarge for knapper */
.text-brand-50,
.text-brand-100,
.text-brand-200,
.text-brand-300,
.text-brand-400,
.text-brand-500,
.text-brand-600,
.text-brand-700,
.text-brand-800,
.text-brand-900 {
    color: var(--charcoal) !important;
}

/* Hover-effekt (du kan bruke samme lime eller en mørkere versjon) */
.hover\:bg-brand-500:hover,
.hover\:bg-brand-600:hover {
    opacity:0.6;
}



/* Forms */

.input-style-3, .select-style-2 {
  margin-bottom:7px;
}

.select-style-2 .select-position select {
  border-radius:4px;
}

.input-style-3 input, .input-style-3 textarea {
    width: 100%;
    background: #FFF;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 16px;
    padding-left: 45px;
    color: var(--dark-text);
    resize: none;
    transition: all 0.3s;
}

.input-style-3.readonly-background input, .input-style-3.readonly-background textarea {
  background:#f7f7f7;
}


/* Tekstfelt/select/textarea: border + ring + caret ved fokus */
:is(
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="url"],
  input[type="tel"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  select,
  textarea
):focus {
  border-color: transparent !important;
  /* funkier fint sammen med Talwind ring */
  --tw-ring-color: var(--lime-green-dark-40);
  /* fallback hvis du ikke bruker Tailwind ring */
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime-green-dark-40) 28%, transparent);
  outline: none;
  caret-color: var(--primary);
}

/* Native kontroller (checkbox/radio/range/switch) */
.form-active-lime :is(
  input[type="checkbox"],
  input[type="radio"],
  input[type="range"]
) {
  accent-color: var(--lime-green-dark-40);
}

/* Også tekst-caret for inputs/textarea (ikke bare når fokus) */
:is(input, textarea) {
  caret-color: var(--lime-green-dark-40);
}

/* Valgfritt: focus-visible outline (browser) til lime */
:is(input, select, textarea):focus-visible {
  outline-color: var(--lime-green-dark-40);
}

/* Text & Content */


.margin_bottom_80px {
  margin-bottom:80px;
}
.margin_0_auto {
  margin:0 auto;
}

/* Spinners */

#preloader .spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--lime-green-dark-10);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 0.9s linear infinite;
}

/* Topbar */

#topbar-bar.topbar-initial {
  background: var(--lime-green, #c9ee44);
  box-shadow: none;
  opacity: 0;
  width: 0%;
}

/* Charts */

 /* Hard override if we can't reach the chart instance */
  /* Series index 0 (e.g., "2023") → #b0f3d0 */
  #chartTwentyThree .apexcharts-series[data\:realIndex="0"] path {
    fill: #b0f3d0 !important;
    stroke: #b0f3d0 !important;
  }
  /* Series index 1 (e.g., "2024") → #279f70 */
  #chartTwentyThree .apexcharts-series[data\:realIndex="1"] path {
    fill: #279f70 !important;
    stroke: #279f70 !important;
  }

  /* Legend dots + tooltip markers (best-effort styling) */
  #chartTwentyThree .apexcharts-legend-series[rel="1"] .apexcharts-legend-marker {
    background: #b0f3d0 !important;
  }
  #chartTwentyThree .apexcharts-legend-series[rel="2"] .apexcharts-legend-marker {
    background: #279f70 !important;
  }



  .chart-container {
  position: relative;
  width: 100%;
  max-width: 220px; /* you can adjust */
  margin: 0 auto;
}
.chart-container canvas {
  width: 100% !important;
  height: auto !important;
}

#applicationProgressChart {
  max-width: 200px;   /* chart size */
  max-height: 200px;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto;
  display: block;
}


/* Other/Custom */

.brand_logo {
    max-width:120px;
}

.brand_logo_mobile {
    max-width:60px;
}





/* Sign-in page base */
.signin-body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.global-spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* Left hero (image + overlay) */
.signin-hero {
  background-image: url("/static/images/Oslo-Tannlegesenter-16-scaled.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.signin-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* low opacity darkening */
  z-index: 0;
}
.signin-hero__content {
  z-index: 1;
  color: #fff;
  margin: auto;
  padding: clamp(24px, 5vw, 48px);
  max-width: 560px;
  text-align: center;
}

.signin-hero__logo {
  width: clamp(200px, 40%, 200px);
  height: auto;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
.signin-hero__tagline {
  font-size: clamp(28px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  opacity: .95;
}
.italic { font-style: italic; }
.bold {font-weight:700}

/* Right panel */
.signin-panel {
  width: min(96%, 440px);
  
  
  padding: 28px;

}
.signin-panel .fab {
    color: var(--accent);
    background: var(--accent-light-80);
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
    font-size:25px;
}


@media (prefers-color-scheme: dark) {
  .signin-panel {
    background: #121316;
    color: #e9eaee;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
  }
}

/* Headings */
.signin-title {
  
  margin: 0 0 6px;
  color:var(--primary)
}
.signin-subtitle {
  margin: 0;
  color: #6b7280; /* gray-500-ish */
}
@media (prefers-color-scheme: dark) {
  .signin-subtitle { color: #9aa3af; }
}

/* Buttons group */
.signin-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 15px 25px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius:25px;
}
.signin-btn:hover {
  opacity:1;
  background:var(--accent);
  color:#FFF;
}
@media (prefers-color-scheme: dark) {
  .signin-btn { border-color: rgba(255,255,255,.12); }
}
.signin-btn__icon {
  width: 30px; height: 30px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.signin-btn__icon--google   { background-image: url("/static/icons/google.svg"); }
.signin-btn__icon--apple    { background-image: url("/static/icons/apple.svg"); }
.signin-btn__icon--facebook { background-image: url("/static/icons/facebook.svg"); }

/* Terms */
.signin-terms {
  font-size: 12px;
  color: #9aa3af;
  text-align: center;
  margin: 14px 0 0;
}




/* Horizontal "or" divider */
.signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  color: #9aa3af;
  text-transform: none;
  letter-spacing: .08em;
  font-size: 12px;
}
.signin-divider::before,
.signin-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(0, 0, 0, .12);
}
@media (prefers-color-scheme: dark) {
  .signin-divider::before,
  .signin-divider::after { background: rgba(255, 255, 255, .18); }
}
.signin-divider > span { line-height: 1; }


       
        .filepond--root {
            margin-bottom: 1rem;
        }
        .filepond-fallback {
            display: none;
        }
        .filepond--root:not(.filepond--hopper) + .filepond-fallback {
            display: block;
        }
        /* Progress Bar Styles */
       
        #progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: transparent;
            z-index: 9999;
        }
        #progress-bar .progress-fill {
            width: 0;
            height: 100%;
            background: var(--primary);
            transition: width 2s linear;
        }
        #progress-bar.active .progress-fill {
            width: 100%;
        }






/* Animation keyframes */
@keyframes slideUpFadeIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUpFadeIn 0.8s ease-out forwards;
}




    .wait-submitting-form {
      opacity:0.5;
      pointer-events: none;
    }

    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        border-radius: 5px;
        color: white;
        z-index: 1000;
    }
    .notification.success { background-color: #28a745; }
    .notification.error { background-color: #dc3545; }
    .spinner {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 6px solid rgba(0, 0, 0, 0.1);
        border-left-color: var(--lime-green-dark-30, #28a745);
        border-radius: 50%;
        width: 80px;
        height: 80px;
        animation: spin 1s linear infinite;
        z-index: 2000;
    }
    @keyframes spin {
        to { transform: translate(-50%, -50%) rotate(360deg); }
    }



.modal-body {
    border-radius: var(--bs-border-radius);
}




/* Container for varsler */
#notify-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none; /* lar klikk gå "gjennom" */
}

/* Selve varselet */
.notify {
  pointer-events: auto; /* men varselet selv kan klikkes */
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  padding: 12px 14px 10px 14px;
  border-left: 4px solid var(--accent, #3b82f6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .38s ease;
}

/* Slide in/out */
.notify.is-in  { transform: translateX(0);    opacity: 1; }
.notify.is-out { transform: translateX(120%); opacity: 0; }

/* Tekst og close-knapp */
.notify__content { line-height: 1.35; }
.notify__close {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .6;
}
.notify__close:hover { opacity: 1; }

/* Fargetemaer */
.notify--success { --accent: #16a34a; }
.notify--danger  { --accent: #ef4444; }
.notify--warning { --accent: #f59e0b; }
.notify--info    { --accent: #3b82f6; }

/* Progresslinje (auto-lukk) */
.notify__progress {
  grid-column: 1 / -1;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent));
  border-radius: 999px;
  animation: notify-progress var(--duration, 4s) linear forwards;
}
@keyframes notify-progress {
  from { width: 100%; }
  to   { width: 0%; }
}

/* Pause animasjon ved hover */
.notify:hover .notify__progress { animation-play-state: paused; }


.draft-id{
  background: var(--teal-green-light-70);
  padding:8px 20px;
  font-size:15px;
  border-radius:var(--bs-border-radius);
  margin-top:15px;
  margin-bottom:0px;
  width:auto;
  display:inline-block;
}



.supported-cards img {
  opacity: 0.8;
  transition: opacity 0.2s;

}
.supported-cards img:hover {
  opacity: 1;
}