/* --- Semantic UI Colors --- */

.link-color-default {
    color: #00796B;
}

/* Clickable Elements - Buttons */
.clickable-button-default {
  background-color: #00796B;
}
.clickable-button-hover {
  background-color: #00695C;
}
.clickable-button-pressed {
  background-color: #00BFA5;
}
.clickable-button-disabled {
  background-color: #9E9E9E;
}
.clickable-link-button-default {
  color: #616161;
}
.clickable-link-button-hover {
  color: #00695C;
}

/* Clickable Elements - Switches */
.clickable-switch-default {
  background-color: #757575;
}
.clickable-switch-hover {
  background-color: #616161;
}
.clickable-switch-selected {
  background-color: #00695C;
}

/* Clickable Elements - Backgrounds */
.clickable-background-white {
  background-color: #FDFDFD;
}
.clickable-background-light {
  background-color: #FAFAFA;
}
.clickable-background-hover {
  background-color: #E0F2F1;
}
.clickable-background-selected {
  background-color: #E0F2F1;
}

/* Clickable Elements - Strokes */
/* Note: For stroke classes to be visible, the element also needs a border-width and border-style */
.clickable-stroke-default {
  border-color: #EEEEEE;
}
.clickable-stroke-hover {
  border-color: #80CBC4;
}
.clickable-stroke-selected {
  border-color: #009688;
}
.clickable-stroke-error {
  border-color: #EF9A9A;
}

/* Clickable Elements - Icons */
/* Note: These classes use 'color'. For SVG icons, you may also want to set 'fill: currentColor;' */
.clickable-icon-white {
  color: #FDFDFD;
}
.clickable-icon-light-default {
  color: #BDBDBD;
}
.clickable-icon-medium-default {
  color: #757575;
}
.clickable-icon-hover {
  color: #00897B;
}
.clickable-icon-selected {
  color: #00695C;
}

/* Calendar - Confirmed State */
.calendar-confirmed-stroke-card {
  border-color: #4FC3F7;
}
.calendar-confirmed-bg-content {
  background-color: #EDF9FE;
}
.calendar-confirmed-bg-tag-default {
  background-color: #B3E5FC;
}
.calendar-confirmed-bg-tag-hover {
  background-color: #80D8FF;
}
.calendar-confirmed-text-tag {
  color: #01579B;
}

/* Calendar - Completed State */
.calendar-completed-stroke-card {
  border-color: #AED581;
}
.calendar-completed-bg-content {
  background-color: #F7FBF2;
}
.calendar-completed-bg-tag-default {
  background-color: #DCEDC8;
}
.calendar-completed-bg-tag-hover {
  background-color: #CCFF90;
}
.calendar-completed-text-tag {
  color: #33691E;
}

/* Calendar - Canceled State */
.calendar-canceled-stroke-card {
  border-color: #FF8A65;
}
.calendar-canceled-bg-content {
  background-color: #FDF2F1;
}
.calendar-canceled-bg-tag-default {
  background-color: #FFCCBC;
}
.calendar-canceled-bg-tag-hover {
  background-color: #FF9E80;
}
.calendar-canceled-text-tag {
  color: #A62E0A;
}

/* Calendar - Pending State */
.calendar-pending-stroke-card {
  border-color: #FFD54F;
}
.calendar-pending-bg-content {
  background-color: #FFFBED;
}
.calendar-pending-bg-tag-default {
  background-color: #FFECB3;
}
.calendar-pending-bg-tag-hover {
  background-color: #FFE57F;
}
.calendar-pending-text-tag {
  color: #8C6D07;
}

/* System Status - Success */
.status-success-background {
  background-color: #E8F5E9;
}
.status-success-text {
  color: #1B5E20;
}
.status-success-icon {
  color: #1B5E20;
}
.status-success-stroke-dark {
  border-color: #1B5E20;
}

/* System Status - Information */
.status-information-background {
  background-color: #E8EAF6;
}
.status-information-text {
  color: #1A237E;
}
.status-information-icon {
  color: #1A237E;
}
.status-information-stroke-dark {
  border-color: #1A237E;
}
.status-information-notification {
  background-color: #3F51B5;
}

/* System Status - Warning */
.status-warning-background {
  background-color: #FFF6E6;
}
.status-warning-text {
  color: #CC4800;
}
.status-warning-icon {
  color: #CC4800;
}
.status-warning-stroke-dark {
  border-color: #CC4800;
}

/* System Status - Error */
.status-error-background {
  background-color: #FEEBEE;
}
.status-error-text {
  color: #B71C1C;
}
.status-error-icon {
  color: #B71C1C;
}
.status-error-stroke-dark {
  border-color: #B71C1C;
}

/* Surface Elements - Backgrounds */
.surface-background-white {
  background-color: #FDFDFD;
}
.surface-background-light {
  background-color: #FAFAFA;
}
.surface-background-dark {
  background-color: #121212;
}
.surface-background-secondary {
  background-color: #F3E5F5;
}

/* Surface Elements - Strokes */
.surface-stroke-light {
  border-color: #EEEEEE;
}
.surface-stroke-dark {
  border-color: #272727;
}

/* Surface Elements - Icons */
.surface-icon-white {
  color: #FDFDFD;
}
.surface-icon-light {
  color: #BDBDBD;
}
.surface-icon-medium {
  color: #757575;
}
.surface-icon-dark {
  color: #424242;
}
.surface-icon-secondary {
  color: #7B1FA2;
}

/* Texts */
.text-color-white {
  color: #FDFDFD;
}
.text-color-placeholder {
  color: #BDBDBD;
}
.text-color-light {
  color: #757575;
}
.text-color-medium {
  color: #616161;
}
.text-color-dark {
  color: #424242;
}
.text-color-selected {
  color: #00695C;
}



/*
 * --- MOBILE & TABLET STYLES (Defaults) ---
 */

.text-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Bold */
  font-size: 24px;
  line-height: 32px;
}

.text-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Bold */
  font-size: 20px;
  line-height: 24px;
}

.text-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 18px;
  line-height: 24px;
}

.text-button {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Bold */
  font-size: 16px;
  line-height: 24px;
}

.text-link-large {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Semi Bold */
  font-size: 16px;
  line-height: 16px;
}

.text-link-small {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Semi Bold */
  font-size: 14px;
  line-height: 16px;
}

.text-large-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 16px;
  line-height: 24px;
}

.text-large-medium {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 16px;
  line-height: 24px;
}

.text-medium-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 14px;
  line-height: 16px;
}

.text-medium-medium {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 14px;
  line-height: 16px;
}

.text-small-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400; /* Regular */
  font-size: 12px;
  line-height: 16px;
}

.text-small-medium {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 12px;
  line-height: 16px;
}

.text-navigation {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 18px;
  line-height: 24px;
}

.text-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500; /* Medium */
  font-size: 16px;
  line-height: 24px;
}

/* kpi-small */
.text-h1-small { 
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Semi Bold */
  font-size: 24px;
  line-height: 24px;
  letter-spacing: -0.5px;
}

/* kpi-regular */ 
.text-h2-small {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Semi Bold */
    font-size: 18px;
    line-height: 18px;
}

/*
==========================================================================
  DESKTOP OVERRIDES (1200 px and wider) - We can not use variables in media queries with
==========================================================================
*/
@media (min-width: 1200px) { 
  .text-h1 {
      font-size: 28px;
      line-height: 32px;
  }

  .text-h2 {
    font-size: 22px;
    line-height: 24px;
  }  

  .text-subtitle {
    font-size: 20px;
    line-height: 24px;
  }

  /* .text-button has no changes for desktop */

  /* .text-link-large has no changes for desktop */
  
  /* .text-link-small has no changes for desktop */

  /* .text-large-regular has no changes for desktop */

  /* .text-medium-regular has no changes for desktop */

  /* .text-medium-medium has no changes for desktop */

  /* .text-small-regular has no changes for desktop */

  /* .text-small-medium has no changes for desktop */
  
  /* .text-navigation has no changes for desktop */

  .text-title {
    font-size: 18px;
    line-height: 24px; /* Line height is the same but specified, so included */
  }

  .text-h1-small {
    font-size: 24px;
    line-height: 28px;
  }

  .text-h2-small {
    font-size: 18px;
    line-height: 24px;
  }
}


/* Styles for the login page */

.input-group-seamless {
    min-height: var(--m8p-x6);
    height: var(--m8p-x6);
    background-color: var(--clickable-background-white); 
    border: 1px solid var(--clickable-stroke-default);
    border-radius: var(--spacing-corner-minimum);
    padding: var(--spacing-gap-small) var(--spacing-gap-small); 
    display: flex;
    width: 100%;
    align-items: center;
}

.input-group-seamless .form-control,
.input-group-seamless .input-group-text {
    background-color: transparent;
    border: none;
}

.input-group-seamless .form-control:focus {
    background-color: var(--clickable-background-white); 
    border-color: transparent;   
    box-shadow: none;          
    outline: none;              
}

.input-group-seamless .cursor-pointer {
    cursor: pointer;
}


.input-group-seamless:hover {
  border-color: var(--clickable-stroke-hover);

}

.input-group-seamless:focus-within {
  border-color: var(--clickable-stroke-selected);  
}

.input-group-seamless input:focus::placeholder {
  color: var(--text-color-dark);                
}


.input-error {
  border: 1px solid #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.long-button {
    width: 100%;          
    height: 48px;           
    padding: var(--spacing-padding-small) var(--spacing-padding-large);   
    border-radius: 8px;        
    display: flex;         
    align-items: center;
    justify-content: center;
    color: var(--text-color-white);
    border: none;
    border-radius: var(--spacing-corner-minimum);
    /* there were no declared text variables with these styles */
    font-family: 'Inter', sans-serif; 
    font-weight: 600; 
    font-size: 16px;
    line-height: 24px;
    }

.login-container {
  margin-top: 40px;
  border-radius: 4px;
  max-width: 440px;
}

@media (min-width: 768px) {
  .login-container {
    margin-top: 64px;
    max-width: 550px;
  }
}

.login-title {
    margin-bottom: var(--spacing-padding-xlarge);
}

.login-title h1 {
    margin-bottom: var(--spacing-padding-xsmall);
}

.login-bottom-content {
    margin-top: var(--spacing-gap-xlarge);
    height: 136px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center; 
}

.login-bottom-content .bottom-text {
    width: 100%; 
    text-align: center;
}


.main-container {
  min-height: 100vh;
}

.banner {
  background: linear-gradient(to bottom,  #021d20 , #131216);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 271px; 
  /* 255 + 16 for the overlap */
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 286px;
    transform: translateY(-8px); /* Move up by half the overlap amount of displacement */
}

.content-wrapper {
  border-radius: var(--spacing-corner-medium) var(--spacing-corner-medium) 0px 0px;
  margin-top: -16px; /* Pull up to overlap the top container */
  position: relative;
  z-index: 2; /* Ensure it sits on top */
  background-color: var(--clickable-background-white);
}

 

.logo-container {
  margin-bottom: var(--spacing-gap-small);
  height: 111px;;
}

.logo-container h2 {
        font-family: "Inter";
        font-weight: 600;
        font-size: 23px;
        line-height: 44px;
}

.banner-logo {
    width: 68px;
    margin-bottom: var(--spacing-gap-small);
}


@media (min-width: 768px) and (max-width: 1199.99px) {
    .banner {
        height: 400px;
    }

    .banner-logo {
        width: 86px;
    }

    .logo-container {
        height: 140px;;
    }

    .logo-container h2 {
        font-size: 30px;
        line-height: 44px;
    }

}

@media (min-width: 1200px) {
  .banner {
    height: 100vh;
    max-width: 520px;
    position: sticky !important;
    top: 0;
  }

  .main-container {
    flex-direction: row;
  }

  .content-wrapper {
    flex: 1;
    min-width: 0;
    }

  
  .banner-content {
    width: 320px;      
  }

    .logo-container h2 {
        font-size: 40px;
        line-height: 60px;
    }

   .banner-logo {
        width: 118px;
    }

   .logo-container {
        height: 192px;;
    }

}
 

.checkbox-v2 {
  width: 18px;
  height: 18px;
  accent-color: var(--clickable-button-default);
}


.alert-container {
  width: 437px;
  height: 56px;
  max-width: calc(100% - 40px); 
  min-height: 7%;
  position: fixed;
  top: 20px;
  right: 20px; 
  background: var(--status-error-background);
  border-radius: var(--spacing-corner-xsmall);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

.alert-icon {
  background-color: red;
  -webkit-mask: url("/css/x.svg") no-repeat center;
  mask: url("/css/x.svg") no-repeat center;
  font-size: 16px;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
  margin: 0;
}


.alert-progress-bar {
  width: 100%;
  height: 5px;
  background: var(--status-error-background);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 var(--spacing-corner-xsmall) var(--spacing-corner-xsmall);
  overflow: hidden;
}

.alert-progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--status-error-icon);
  width: 0%;
  animation: fillBar 2s linear forwards;
}

@keyframes fillBar {
  to {
    width: 100%;
  }
}

.mobile-only-1000 {
  visibility: hidden; 
}


@media (max-width: 999px) {
  .mobile-only-1000 {
   visibility: visible;
  }
}