/*@font-face {
    font-family: Jost;
    font-weight: 600;
    src: url("fonts/Jost.ttf");
}

@font-face {
    font-family: Roboto;
    font-weight: 400;
    src: url("fonts/Roboto.ttf");
}

h1,
h2,
h3 {
    font-family: "Jost", sans-serif;
    line-height: 1.2em;
}

* {
    font-family: "Roboto", sans-serif;
    line-height: 1.7em;
}
*/

:root {
  --primary-color: #5A92FE; 
  --secondary-color: #818793; 

  --primary-border: #5A92FE;
  --secondary-border: #595959;

  --save-button-text: #818793;
  --save-button-backround: #E1E4EA;

  --text-color: #15171A;     

  --background-color: #ffffff;
  --secondary-background-color: #FBFCFD;


}

@font-face {
  font-family: Jost;
  font-weight: 600;
  src: url("fonts/Jost.ttf");
}



@font-face {
  font-family: JakartaPlusLight;
  font-weight: 100;
  font-style: light;
  src: url("fonts/PlusJakartaSans.ttf");
}

@font-face {
  font-family: JakartaPlus400;
  font-weight: 400;
  font-style: normal;
  src: url("fonts/PlusJakartaSans.ttf");
}

@font-face {
  font-family: JakartaPlus600;
  font-weight: 600;
  src: url("fonts/PlusJakartaSans.ttf");
}

@font-face {
  font-family: JakartaPlus700;
  font-weight: 700;
  src: url("fonts/PlusJakartaSans.ttf");
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "JakartaPlus700", sans-serif;
  line-height: 1.2em;
  color:#15171A;
}

h1 {
  line-height: 60px;
  font-size: 40px;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 20px;
  line-height: 30px;
}

h5 {
  font-size: 16px;
  line-height: 22px;
}

p {
  font-family: "JakartaPlus400", sans-serif;
}

* {
  font-family: "JakartaPlus400", sans-serif;
  line-height: 22px;
  font-size: 16px;
}

/*@media only screen and (min-width: 992px) {
  line-height: 1.7em; for *
  h1 {
    font-size: 87px;
  }

  h2 {
    font-size: 41px;
  }

  h3 {
    font-size: 28px;
  }

  * {
    font-size: 17px;
  }
}*/

.btn {
  color: white;
  border-radius: 25px;
  border-width: 2px;
  padding: 10px 28px 10px 28px;
  font-size: 16px;
  font-family: 'JakartaPlus400', sans-serif;

}

a,
.btn-link {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-border);
  font-family: 'JakartaPlus700', sans-serif;
}

.btn-primary-rc-3-end {
  background-color: var(--primary-color);
  border-color: var(--primary-border);
  font-family: 'JakartaPlus700', sans-serif;
  border-radius: 3px;
  margin-left: auto;
}

.btn-primary-rc-3-end:hover {
  background-color: #0a58ca;
  color: white;
}

.btn-secondary {
  color: #09090A;
  background-color: #FBFCFD;
  border-color: #595959;
  font-family: 'JakartaPlus600', sans-serif;
  border-width: 2px;
  
}

.btn-secondary-res {
  color: var(--primary-color);
  border-color: var(--background-color) !important;
  background-color: var(--background-color) !important;
  border-radius: 3px !important;
  margin-top: 30px;
  font-family: 'JakartaPlus700', sans-serif;
  line-height: 24px;
  align-self: end;
  min-width: 12rem;
}

.btn-secondary-res:hover {
  color: rgb(35, 39, 255) !important;
}

.btn-profile {
  border-radius: 10px !important;
  border-color: #4785FF;
  color: #4785FF;
  border-width: 2px;
  font-family: 'JakartaPlus700', sans-serif;
  line-height: 24px;
  padding: 5px 15px;
  margin-bottom: 20px;
  display: flex;
  gap: 5px;
}

.btn-profile-edit {
  color: var(--background-color);
  border-color: var(--primary-border) !important;
  background-color: var(--primary-color) !important;
  padding: 2px 16px;
  font-family: 'JakartaPlus700', sans-serif;
}

.btn-profile-save {
  color: var(--save-button-text);
  border-color: var(--save-button-backround) !important;
  background-color: var(--save-button-backround) !important;
  padding: 2px 16px;
  font-family: 'JakartaPlus700', sans-serif;
}

.btn-profile-next {
  line-height: 24px;
  border-color: #4785FF;
  color: #4785FF;
  background-color: white;
  align-self: end;
  margin-left: auto;
  
}

.btn-profile-next:hover {
  border-color: #0a58ca;
  color: #0a58ca;
}


.profile-submit-row{
  display: flex;
  justify-content: space-between;
}

.aa-btn-row{
  margin-top: 15px;
  margin-bottom: 25px;
  display: flex;
}

.submit-button {
  margin-left: auto;
  font-family: 'JakartaPlus600', sans-serif;
}

.content-image {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 25px;
  height: auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.content-divider {
  height: 10px;
}

.content-list{
  margin-left: 1rem;
  line-height: 2rem;
  margin-bottom: 0px;
}

.form{
  
}

.aa-head{
  margin-bottom: 0px;
}

.bg-primary{
  background-color: var(--primary-color) !important;
}

.label-margin {
  margin-left: 10px; 
}

.clisthead{
  margin-bottom: 0px;
}

.number-circle {
  width: 40px;
  height: 40px;
  font-size: 15;
  margin-right: 10px;
}

.step-num {
  margin-bottom: 0px;
  font-weight: bold;
}

p {
  line-height: 25px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-color);*/
}

.form-checked-input:checked {
  background-color: var(--primary-color);
}

.content {
  padding-top: 1.1rem;
}

h1:focus {
  outline: none;
}

.valid.modified:not([type="checkbox"]) {
  /*outline: 1px solid #26b050;*/
}

.form-check-input:checked[type="radio"] {
  background-image: url("/forms/Check.svg");
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}

.form-check-input[type=radio]{
  flex-shrink: 0;
  border-color: #636467;
  box-shadow: 0 1px 4px rgba(12, 12, 13, 0.05), 
              0 1px 4px rgba(12, 12, 13, 0.10);
  transition: box-shadow 0.2s ease;
  width: 1.2em;
  height: 1.2em;
}
.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZW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yNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
  border-color: #929292;
}

.form-check-input {
  border-color: #636467;
  border: 1.5px solid;
  width: 1.2em;
  height: 1.2em;

}

.form-check{
  margin-bottom: 0px;
}

.login-background {
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container-form {
  background-color: var(--background-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.background {
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.form-container {
  background-color: #eef5fd;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-profile-group {
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.image-border-primary-shadow {
    border-width: 3px;
    border-color: var(--primary-color);
    border-radius: 3px;
    border-style: solid;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


.profile-sub-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.profile-sub-heading-left {
  font-size: 1.5rem;
  margin-bottom: 0px;
  
}

.profile-sub-heading-right {
  gap: 1rem;
  align-items: center;
  display: flex;
}

.submit-row {
  display: flex;
}

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1.25rem;
  background-color: #f5c6cb;
  color: #721c24;
  font-family: sans-serif;
  font-size: 1rem;
  z-index: 1000;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 70%;
  max-height: 70%;
  border-radius: 15px;
}

.fullscreen-image {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  max-height: 70%;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-backdrop.show {
  display: flex;
}

@keyframes loading-bar {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(100%);
  }
}

.loading-bar-container {
  position: relative;
  overflow: hidden;
  background-color: #e0e0e0;
  border-radius: 5px;
}

.loading-bar {
  width: 50%;
  height: 100%;
  background-color: #007bff;
  animation: loading-bar 2s infinite;
  transform: translateX(-100%);
}

ul {
  padding-left: 1rem;
}


.dashboard-row {
  
  align-items: center;    
  
  background-color: #ffffff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}


.application-links-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}


.left-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 25px;
}

.right-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-left: 1rem;
}

.right-icon-small {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  margin-left: 1rem;
}

.dashboard-row-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.dashboard-row-link:visited,
.dashboard-row-link:hover,
.dashboard-row-link:active,
.dashboard-row-link:focus {
  text-decoration: none;
  color: inherit;
}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;
  flex-grow: 1;           
  margin: 0 20px;         
}

.submenue-backround {
  background-color: #DDE8FF;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  height: 30px;
  width: 100%;
  display: flex;
}

.submenue-backround-off {
  background-color: none;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  height: 30px;
  width: 100%;
  display: flex;
}


.title-and-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Stack vertically on small screens */
@media (max-width: 767.98px) {
  .title-and-button {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }
}


.progressfield {
  padding: 0px 5px;
  border-width: 0px;
  border-radius: 4px;
  font-size: 16px;
  pointer-events: none;
}

.progressfield-with-h3 {
  padding: 0px 5px;
  border-width: 0px;
  border-radius: 4px;
  font-size: 16px;
  pointer-events: none;
  
}

.progressfield-done {
  background-color: #28A745;
  color: white
}

.progressfield-pending {
  background-color: #FFC107;
  color: black;
}

.progressfield-not-fulfilled {
  background-color: #DC3545;
  color: white
}

.progressfield-not-applicable {
  background-color: #CCCCCC;
  color: black;
}




.progressfield-info {
  background-color: #0D83D8;
}

.progressfield-pending2 {
  background-color: #17A2B8;
}




.dashboard-row-complete {
  border: 0px solid #3ca06e;
  background-color: #e9f6ec;
}

.dashboard-row-pending {
  border: 0px solid #d56825;
  background-color: #fff9e6;
}

.dashboard-row-not-applicable {
  border: 0px solid #A9A9A9;
  background-color: #f1f1f1;
  
}

.dashboard-row-not-fulfilled {
  border: 0px solid #FF0000;
  background-color: #fce9eb;
}




.login-background {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 450px;
    box-sizing: border-box; /* Makes sure padding doesn't overflow width */
}

/* Full-viewport centering */
.auth-screen {
  min-height: 100vh;                 /* take the full screen */
  display: flex;
  align-items: center;
  justify-content: center;
}



/* The card */
.login-card {
  width: 100%;
  max-width: 520px;                  /* nice readable line length */
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 2rem;
}

/* Typographic scaling */
.auth-title {
  margin: 0 0 .5rem 0;
  font-weight: 700;
  font-size: 1.5rem;                 /* base (sm) */
}
.auth-lead {
  margin: .5rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* Boost sizes on md+ */
@media (min-width: 768px) {
  .auth-title { font-size: 2rem; }   /* ~32px */
  .auth-lead  { font-size: 1.125rem; }
}

/* Form cosmetics */
.form-label {
  font-weight: 600;
}
.form-control {
  padding: .7rem .9rem;
  font-size: 1rem;
}