:root {
  /* === Base Colors === */
  --lime-green: #2563EB;  /* Bright Lime Green */
  --teal-green: #22C55E;  /* Vibrant Green */
  --charcoal:   #17161b;  /* Charcoal Black */



/* === Lime Green - Lighter (0-100%) === */
--lime-green-light-0:  var(--lime-green);
--lime-green-light-10: #4075ed;
--lime-green-light-20: #5b87ef;
--lime-green-light-30: #7699f1;
--lime-green-light-40: #91abf3;
--lime-green-light-50: #acbdf5;
--lime-green-light-60: #c7cff7;
--lime-green-light-70: #dbe1f9;
--lime-green-light-80: #e9ecfb;
--lime-green-light-90: #f4f6fd;
--lime-green-light-100: #ffffff;

/* === Lime Green - Darker (10-100%) === */
--lime-green-dark-10:  #2159d4;
--lime-green-dark-20:  #1d4fbc;
--lime-green-dark-30:  #1845a5;
--lime-green-dark-40:  #143b8d;
--lime-green-dark-50:  #103176;
--lime-green-dark-60:  #0c275e;
--lime-green-dark-70:  #081d47;
--lime-green-dark-80:  #04132f;
--lime-green-dark-90:  #020a18;
--lime-green-dark-100: #000509;




/* === Teal Green - Lighter (0–100%) === */
--teal-green-light-0:  #22c55e;
--teal-green-light-10: #3ed173;
--teal-green-light-20: #5add87;
--teal-green-light-30: #76e99b;
--teal-green-light-40: #91f5b0;
--teal-green-light-50: #acfbc3;
--teal-green-light-60: #c2fcd2;
--teal-green-light-70: #d3fddd;
--teal-green-light-80: #e4feea;
--teal-green-light-90: #f2fef5;
--teal-green-light-100: #ffffff;

/* === Teal Green - Darker (10–100%) === */
--teal-green-dark-10:  #1fb856;
--teal-green-dark-20:  #1cab4f;
--teal-green-dark-30:  #199e47;
--teal-green-dark-40:  #16913f;
--teal-green-dark-50:  #138437;
--teal-green-dark-60:  #10772f;
--teal-green-dark-70:  #0d6a27;
--teal-green-dark-80:  #0a5d1f;
--teal-green-dark-90:  #074f17;
--teal-green-dark-100: #04420f;


  /* === Charcoal - Lighter (0-100%) === */
  --charcoal-light-0:  #17161b;
  --charcoal-light-10: #2f2e32;
  --charcoal-light-20: #474649;
  --charcoal-light-30: #5f5e60;
  --charcoal-light-40: #777677;
  --charcoal-light-50: #8f8e8f;
  --charcoal-light-60: #a7a6a7;
  --charcoal-light-70: #bfbebf;
  --charcoal-light-80: #d7d6d7;
  --charcoal-light-90: #efeeef;
  --charcoal-light-100: #ffffff;

  /* === Charcoal - Darker (10-100%) === */
  --charcoal-dark-10:  #141316;
  --charcoal-dark-20:  #111012;
  --charcoal-dark-30:  #0e0d0e;
  --charcoal-dark-40:  #0b0a0b;
  --charcoal-dark-50:  #080708;
  --charcoal-dark-60:  #050405;
  --charcoal-dark-70:  #030303;
  --charcoal-dark-80:  #020202;
  --charcoal-dark-90:  #010101;
  --charcoal-dark-100: #000000;




  --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);




    /* 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-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  position:unset;
  color: var(--charcoal);
    -webkit-font-smoothing: antialiased;
  background:f3f7fd;

}

body, body p {
  font-size:14px;
  letter-spacing: 0.4px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color:var(--charcoal);
}

h1, .h1 {
    font-size: 35px;
    font-weight: 700;
}

h2, .h2 {
  font-size:24px;
  font-weight:700;
}

h4, .h4 {
  font-size:17px;
  font-weight:600;
}

h6, .h6, h5, .h5  {
  font-size:13px;
}

a {
    color: var(--teal-green);
    
}

.lead {
    font-size: 1.05rem;
    font-weight: 400;
}


.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: transparent;
    color: var(--bs-table-striped-color);
}

.table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.00);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.label-small {
    margin-bottom: 2px;
    font-weight:400!important;
    font-size: 12px;
    color: #999;
}


.flex {
  display:flex;
  justify-content: left;
  align-items: center;
  gap:20px;
}


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


/* Page */



.textcontent h1, .textcontent h2, .textcontent h3, .textcontent h4, .textcontent h5, .textcontent h6, .textcontent .h1, .textcontent .h2, .textcontent .h3, .textcontent .h4, .textcontent .h5, .textcontent .h6 {
  margin-bottom:10px;
}

.spacing {margin-top:10px;}
.spacing30 {margin-top:30px;}

.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: 270px;      /* 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;
    padding:7px 0;
}



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

.card {
  border-color:#eee;
  box-shadow: 0 .125rem .25rem rgba(var(--bs-body-color-rgb),.075)!important
}
.card-header {
    padding:30px 30px 20px 30px;
    background:transparent;
    border-color: transparent;
    
}


.blue-bg {
    background: var(--lime-green);
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color:#FFF;
    border-color:transparent;
}
.fontwhite {
  color:#FFF;
}

.header_content {
  max-width:700px;
  margin-top:10px;
  font-size:18px;
  font-weight:400;
  display:block;
  line-height:25px;
}
.header_content_padding {
  padding:25px;
  min-height:200px;
}
.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);
}

.logo-static {
  font-size:16px;
  font-weight:700;
  color:var(--charcoal);
}
.logo-static-icon {
  background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  width:40px;
  height:40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color:center;
  border-radius:10px;
}


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

.list-group-item {
  
  font-weight: 500;
}
.list-group-item i {
  background:var(--lime-green);
  color:var(var(--charcoal));
  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:30px;
  height:30px;
  color:#FFF;
  background:var(--lime-green);
  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(--charcoal);
  background:var(--lime-green);
  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(--lime-green)!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; padding:25px; }
.v-step {
    position: relative;
    padding-left: 70px;
    padding-right: 32px;
    margin: 0 0 35px 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: -30px;
    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(--lime-green);
    color: #FFF;
    border-color: var(--lime-green);
    animation: pulse 1.5s infinite;
    border-radius: 50%;
}

/* Keyframes for smooth pulsing in blue */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 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(--charcoal);
    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 {
    
    background: #ddd;
}

.primary-btn, .preview-btn, .btn-outline-primary {
    background: var(--lime-green);
    color: var(--charcoal);
    border-color:var(--lime-green);
}

 .btn-outline-primary {
    background: var(--lime-green-light-50);
    color: var(--charcoal);
    border-color:var(--lime-green-light-50);
}




.btn-primary {
    background: var(--lime-green);
    color: #FFF;
    border-color: var(--lime-green);
    font-size: 13px;
    font-weight: 500;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:disabled  {
    background: var(--lime-green-dark-20);
    color: #FFF;
    border-color:var(--lime-green);
}


.btn-header {
  padding:8px 30px;
  color:var(--lime-green);
  border-radius:15px;
  display:inline-flex;
  justify-content: center;
  align-items: center;
  cursor:pointer;
  background:#FFF;
  box-shadow: 0 .125rem .25rem rgba(var(--bs-body-color-rgb), .075) !important;
  font-size:14px;
  width:250px;
  font-weight:500;
  margin-top:20px;
}


.btn-disabled {
    background: #f7f7f7;
    color: #ddd;
    border: 1px solid #ddd;
    pointer-events: none;
}

.btn-sm {
    padding: 6px 10px;
    font-weight: 400;
    color:var(--charcoal);
    font-size:12px;
    background:#eee;
    border-color:#ddd;
}

.btn-secondary {
    padding: 6px 10px;
    font-weight: 500;
   
    font-size:13px;
}


.btn-primary:hover, .btn-primary:active, .preview-btn:hover, .preview-btn:active, .btn-outline-primary:hover, .btn-outline-primary:active {
    background: var(--lime-green-dark-20);
    color: #FFF;
    border-color:var(--lime-green-dark-10);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background: var(--lime-green);
    color: #FFF;
    border-color:var(--lime-green-dark-10);
}

.loading-overlay {
  display: flex; /* men IKKE !important */
}

.spinner-border.text-primary {
  color: var(--lime-green);
  border-color: var(--lime-green);
  border-top-color: transparent; /* for rotasjonseffekt */
}


.delete-icon {
  cursor: pointer;
  transition: color 0.2s ease;
}

.delete-icon:hover {
  color: var(--lime-green);
  transform: scale(1.1);
}

.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: 6px 25px;
    font-weight: 400;
    font-size: 14px;
    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(--lime-green);
    color: #FFF;
    font-weight:500;
    width:100%;
}

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

.main-btn:hover {
  background: var(--lime-green-dark-20);
  color:#FFF;
  
}

.btn-autowidth {
  width:auto;
}

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



/* Table */


.table tbody tr:first-child > * {
    padding-top: 8px;
}
.table > :not(caption) > * > * {
    padding: 8px;
    border-bottom-color: #efefef;
    vertical-align: middle;
}
.table tbody tr:last-child > * {
    border-bottom-color: transparent;
    padding-bottom: 8px;
}

/* Chart */

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

/* Menu/Sidebar */


.sidebar-nav-wrapper {
  overflow-y: unset;
  color:var(--charcoal);
  background-color: hsl(240, 5.3%, 96%);
  border-right:1px solid #ddd;
  
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a span.text {
    font-size: 14px;
    font-weight: 400;
    color:var(--charcoal);
}
.sidebar-nav-wrapper .sidebar-nav ul .nav-item #superadmin_menu span.text {
    font-size: 13px;
    font-weight: 400;
    color:var(--charcoal);
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a .icon {
  font-size: 14px;
  color:var(--charcoal-light-20);
  margin-right:15px;
}

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

.sidebar-nav-wrapper .sidebar-nav ul .nav-item a:hover {
  background:var(--lime-green-light-80);
  color:var(--lime-green);
}

.menu-title {
  color:#888;
  font-size:12px;
  font-weight:600;
  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;

}

/* Icons */


.fa-icon {
  cursor: pointer;
}
.fa-icon-marginright {margin-right:5px;}
.fa-icon-marginleft {margin-left:5px;}

/* Header */

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



/* Buttons */



/* Pagination */

.page-link {
    color: var(--charcoal);
}
.page-link:hover {
       color: var(--charcoal);
  
}
.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: inherit;
    --bs-pagination-color: var(--charcoal);
    --bs-pagination-bg: var(--lime-green);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: var(--bs-link-hover-color);
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: #FFF;
    --bs-pagination-active-bg: var(--charcoal);
    --bs-pagination-active-border-color:var(--lime-green);
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: var(--bs-secondary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: flex;
    padding-left: 0;
    list-style: none;
}

/* 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(--lime-green) !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 */

.form-control, .form-select, .select-style-2 .select-position select, .input-style-3 input, .input-style-3 textarea {
  font-size:14px!important;
}


.form-control, .form-select {
   border-radius:10px;
     
}
textarea.form-control {
   border-radius:4px;
     
}
.form-label {
    margin-bottom: .5rem;
    font-size: 12px;
    color: #999;
}

.form-check-input:checked {
    background-color: var(--lime-green);
    border-color: var(--lime-green);
}

.form-check-input:focus {
  border-color: var(--lime-green);
}

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

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

.input-style-3 input, .input-style-3 textarea {
    width: 100%;
    background: #FFF;
    border: 1px solid #ddd;
    
    border-radius: 4px;
    padding: 16px;
    padding-left: 45px;
    color: var(--charcoal);
    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: var(--lime-green) !important;
  /* funkier fint sammen med Talwind ring */
  --tw-ring-color: var(--lime-green);
  /* fallback hvis du ikke bruker Tailwind ring */
  box-shadow: none;
  outline: none;
  caret-color: var(--lime-green);
}

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

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

/* Valgfritt: focus-visible outline (browser) til lime */

.form-control:focus {
  border-color: var(--lime-green);
  border-width:1px;
}

/* 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: "Inter Tight", 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/content-page-3.webp");
  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(400px, 40%, 400px);
  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(--lime-green);
    background: #eee;
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 20px;
}


@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;
}
.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: 5px;
    border: 1px solid rgba(0,0,0,.08);
    background: transparent;
    color: var(--charcoal);
    border-radius:15px;
    font-size: 15px;
    font-weight: 500;
}
.signin-btn:hover {
  opacity:1;
  background:#f7f7f7;
 
}
@media (prefers-color-scheme: dark) {
  .signin-btn { border-color: rgba(255,255,255,.12); }
}
.signin-btn__icon {
  width: 20px; height: 20px;
  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;
}


#msg-viewer p {
    font-size: 16px;
    margin-bottom: 1.1em;
}
/* 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(--lime-green);
            transition: width 2s linear;
        }
        #progress-bar.active .progress-fill {
            width: 100%;
        }

        .filepond--credits {display:none;}





/* 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: 16px;
  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;
  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;
}


.file-preview {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}
.file-item {
  background: #f8f9fa;
  transition: opacity 0.3s ease;
}
.file-item:hover {
  background: #e9ecef;
}


.fade-in {
  animation: fadeIn 0.3s ease-in;
}
.fade-out {
  animation: fadeOut 0.3s ease-out;
  opacity: 0;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

h6.filelist {
  margin-bottom:10px;
}


/* Loader inside file list */
#file-list {
  min-height: 60px;
  position: relative;
}

.file-list-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #6c757d;
}

.file-list-loading::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--lime-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade in files */
.file-item {
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


#preview-content img {
  max-height: 80vh;
  object-fit: contain;
}


.was-validated .form-control:invalid,
.form-control.is-invalid,
.select-style-2 select.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.was-validated .form-check-input:invalid ~ .form-check-label,
.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}

/* Make select look like other inputs when invalid */
.select-style-2 .form-select.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

/* Ensure feedback is visible and not overlapping */
.dob-container .invalid-feedback {

    color: #dc3545;
}


.nav-tabs .nav-link, .nav-tabs .nav-link:hover {
  color:var(--charcoal);
}

.border-radius-small {
  border-radius:4px;
}

.nav-tabs {
  border-bottom: 0 !important;
}




.filepond--root {
    font-family: 'Inter Tight'!important;
}



.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}
.form-step.active {
  display: block;
}

.step-tracker {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.step-item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}
.step-item.active {
  background: #2563EB;
  color: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.step-item.completed {
  background: #22C55E;
  color: white;
}
.step-nav button {
  min-width: 120px;
  font-size: 13px;
  font-weight: 400;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(8px);}
  to {opacity: 1; transform: translateY(0);}
}




/* === PROGRESS TRACKER (independent of Bootstrap) === */
.progress-tracker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  margin: 2rem 0;
  padding: 0 1rem;
}

/* Base horizontal line (centered on circle middle) */
.progress-tracker::before {
  content: "";
  position: absolute;
  top: 28px; /* ✅ Corrected vertical centering for 56px circle */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e5e7eb;
  z-index: 1;
}

/* Each step */
.progress-step {
  position: relative;
  text-align: center;
  z-index: 2;
}

/* Green connecting line between completed steps */
.progress-step.is-done:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 28px; /* ✅ Matches circle center */
  left: -50%;
  width: 100%;
  height: 3px;
  background-color: #22c55e;
  z-index: 2;
}

/* Circles */
.progress-step .circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #374151;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 4px #fff; /* keeps circle crisp */
  position: relative;
  z-index: 3;
}

/* States */
.progress-step.is-done .circle {
  background-color: #22c55e;
  color: #fff;
}

/* The circle itself stays steady */
.progress-step.is-current .circle {
  position: relative;
  background-color: var(--lime-green);
  color: #fff;
  transform: scale(1.05);
}

/* The pulsing halo */
.progress-step.is-current .circle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.4);
  animation: pulse-halo 2s infinite ease-out;
  z-index: -1; /* ensures it’s behind the circle */
}

/* Labels & description */
.progress-step .label {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 13px;
    line-height: 1.4;
    margin-top: 20px;
}

.progress-step.is-current .label {
  color: var(--lime-green);
}

.progress-step .desc {
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
    max-width: 140px;
    margin: 0 auto;
    margin-top: 10px;
}

/* Hover glow (subtle) */
.progress-step.is-done .circle:hover {
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
}

/* Mobile */
@media (max-width: 768px) {
  .progress-tracker {
    grid-template-columns: 1fr;
  }
  .progress-tracker::before {
    display: none;
  }
  .progress-step {
    display: flex;
    align-items: center;
    text-align: left;
    margin-bottom: 1rem;
  }
  .progress-step .circle {
    margin: 0 1rem 0 0;
  }
  .progress-step.is-done:not(:first-child)::before {
    display: none;
  }
}



/* Keyframes for smooth halo expansion */
@keyframes pulse-halo {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}



/* === Application status colors === */
.badge-status {
  border-radius: 50px !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  font-size: 12px !important;
}

/* Under Review */
.badge-submitted {
  background-color: #d6e9ff !important;
  color: #0056b3 !important;
}

/* Reviewed – Awaiting Payment */
.badge-sending {
  background-color: #fff4d6 !important;
  color: #a66b00 !important;
}

/* Payment Done – Awaiting Bank Connection */
.badge-processing {
  background-color: #e4e7ff !important;
  color: #3f51b5 !important;
}

/* Processed by Bank / Insurance */
.badge-processed {
  background-color: #e0f7e0 !important;
  color: #257a3e !important;
}

/* Final Confirmation */
.badge-delivered {
  background-color: var(--lime-green, #34c759) !important;
  color: #ffffff !important;
}

/* Draft (shouldn't normally appear, but define for safety) */
.badge-draft {
  background-color: #eeeeee !important;
  color: #666666 !important;
}




#statusSuccessModal .fa-circle-check {
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}



.partner-card {
  transition: all 0.2s ease-in-out;
}
.partner-card:hover {
  background-color: #f8f9fa !important;
  transform: translateY(-2px);
}
.text-purple {
  color: #6f42c1 !important;
}
.bg-purple-subtle {
  background-color: #f3e8ff !important;
}


.header .header-right .dropdown-menu {
  top:4px!important;
}


.img-smallcards {
  width:100%;
  max-height:120px;
  object-fit: cover;
  border-radius:10px;
  margin-bottom:20px;
}


.flatpickr-calendar {
  font-family: inherit;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}




/* =========================================================
   BuyPropNorway — D-Number Page Typography (Isolated Scope)
   ========================================================= */
.content-page * {
    box-sizing: border-box;
}

/* --- Headings --- */
.content-page h1,
.content-page h2,
.content-page h3,
.content-page h4,
.content-page h5,
.content-page h6 {
    font-family: inherit;
    line-height: 1.3;
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
    color: #222;               /* Adjust color */
    font-weight: 600;          /* Adjust weight */
}

.content-page h1 { font-size: 2rem; }
.content-page h2 { font-size: 1.75rem; }
.content-page h3 { font-size: 1.5rem; }
.content-page h4 { font-size: 1.3rem; 
border-left: 10px solid var(--lime-green);
    padding-left: 10px;
    padding-bottom: 0px;
    padding-top: 0px;
}
.content-page h5 { font-size: 1.1rem; }
.content-page h6 { font-size: 1rem; }

/* --- Paragraphs --- */
.content-page p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;               /* Adjust */
    margin-bottom: 1rem;
}

/* --- Lists --- */
.content-page ul,
.content-page ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    color: #444;               /* Adjust */
    font-size: 1rem;
    list-style-type: disc;
}

/* --- Links --- */
.content-page a {
    color: #0d6efd;           /* Bootstrap blue (adjustable) */
    text-decoration: underline;
}

.content-page a:hover {
    color: #084298;
}

/* --- Horizontal Line --- */
.content-page hr {
    margin: 2rem 0;
    border-top: 1px solid #ddd;
}

/* --- Extra Utility Classes --- */
.content-page .muted {
    color: #888;
}

.content-page .highlight {
    background: #fff4cc;
    padding: 0 4px;
}

.content-page strong {
    font-weight: 600;
}
/* --- Image Utility Classes --- */

.img-content-page {
  max-height:200px;
  object-fit: cover;
  width:100%;
  max-width:100%;
  object-position: 50% 50%;
  margin-bottom:20px;
  border-radius:20px;
}

.img-float-left { 
    float: left;
    width: 350px;
    height: 350px;
    max-height: 350px;
    margin: 25px;
    margin-left:0;
    object-fit: cover;
}


.img-float-right { 
    float: right;
    width: 350px;
    height: 350px;
    max-height: 350px;
    margin: 25px;
    margin-right:0;
    object-fit: cover;
}



.msg-item {
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.msg-item:hover {
  background-color: #eaeaea40 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.bg-admin {
  background-color: #e8f2ff; /* lys blå */
}

.bg-user {
  background-color: #f7f7f7; /* lys grå */
}

.msg-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-admin {
  background-color: #0d6efd; /* bootstrap primary */
  color: white;
}

.avatar-user {
  background-color: #6c757d; /* bootstrap secondary */
  color: white;
}



.msg-item.unread {
    background: #f4f6fb;
}

.msg-item.unread .fw-semibold,
.msg-item.unread .snippet {
    font-weight: 600;
}


.msg-unread {
  font-weight: 700;
  background-color: #f1f5ff;
}

.msg-read {
  font-weight: 400;
  background-color: #ffffff;
}

.msg-me {
  background-color: #e7f7eb;
}


.msg-item.unread .fw-semibold,
.msg-item.unread .mt-1 {
  font-weight: 700 !important;
}
.msg-item.unread {
  border-left: 4px solid rgba(13,110,253,.8);
}