﻿/* ==============================
   Overlay Background
============================== */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(77, 83, 88, 0.6); /* semi-transparent grey */
/*  background: red;*/
  z-index: 1000;
  display: none; /* hidden by default */

  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#loginOverlay.active {
  opacity: 0.5;
  display: block;
  pointer-events: auto;
}
/* ==============================
   Login Container
============================== */
.login-container {
  background: #ffffff;
  border-radius: 16px;
  border-style: solid;
  border-color: #a2a9b0;
  border-width: 1px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001; above overlay;

}

/* ==============================
   Login Title
============================== */
.login-title {
  color: #626263;
  text-align: center;
  font-family: var(--static-headline-large-font, "Roboto-Medium", sans-serif);
  font-size: var(--static-headline-large-size, 32px);
  line-height: var(--static-headline-large-line-height, 40px);
  font-weight: 500;
  position: relative;
}


/* ==============================
   Submit Button
============================== */
.login-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 20px;
  width: 115px;
  height: 40px;
  background: #626263;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #FFFFFF;
  text-align: center;
  border: none;
  transition: background 0.2s ease;
}

  .login-button:hover {
    background: #505050;
  }

/* ==============================
   Optional Error Message
============================== */
.input-error {
  font-size: 12px;
  color: #E74C3C;
  display: none;
}



/* ==============================
   Radio buttons
============================== */

/* container */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  width: 240px;
  font-family: "Inter-Regular", sans-serif;
}

  /* top label */
  .radio-group .radio-label {
    font-size: 14px;
    font-weight: 600;
    color: #4d5358;
  }

/* one radio line */
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

  /* hide default input */
  .radio-item input {
    display: none;
  }

/* outer circle */
.custom-radio {
  width: 24px;
  height: 24px;
  border: 1.2px solid #a2a9b0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

  /* inner dot (hidden until selected) */
  .custom-radio::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #a2a9b0;
    border-radius: 50%;
    opacity: 0;
    transition: 0.15s;
  }

/* when checked, show dot */
.radio-item input:checked + .custom-radio::after {
  opacity: 1;
}

/* label text */
.radio-item span:last-child {
  font-size: 16px;
  color: #4d5358;
}


/* ==============================
   Textbox
============================== */


.login-textbox {
  color: var(--neutral-400, #a3a3a3);
  text-align: left;
  font-family: "OpenSans-Regular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  left: 17px;
  top: calc(50% - -2px);
  width: 183px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}








/* Container for one field */
.input-group {
  display: flex;
  flex-direction: column;
  width: 308px;
  padding:2px;
  padding-bottom: 16px;
}

  /* Label above textbox */
  .input-group label {
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 14px;
    color: #4d5358;
    margin-bottom: 4px;
    gap: 4px
  }

  /* Textbox */
  .input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    font-size: 16px;
    font-family: "OpenSans-Regular", sans-serif;
    color: #000;
  }

    /* Tooltip inside textbox (placeholder text) */
    .input-group input::placeholder {
      color: #a3a3a3;
    }

    /* Optional: highlight on focus */
    .input-group input:focus {
      outline: none;
      border-color: #626263;
    }