/*
.login-card {
  width: 380px;
  background: var(--md-surface);
  padding: 32px;
  border-radius: var(--md-radius);
  box-shadow: var(--md-elevation-1);
}

.login-title {
  font-size: var(--md-font-size-title);
  margin-bottom: 4px;
}

.login-subtitle {
  color: #5f6368;
  margin-bottom: 24px;
}
*/

/* ============================================================
   MEDEA LOGIN - THREE COLUMN LAYOUT
   ============================================================ */

.login-page .container-center {
  width: 100%;
  max-width: none;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  padding: 32px 24px;
}


/* MAIN GRID */

.login-three-columns {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(340px, 400px)
    minmax(0, 1fr);

  gap: 24px;
  align-items: center;

  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}


/* LOGIN CARD - EXISTING STYLE PRESERVED */

.login-three-columns .login-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}


/* ============================================================
   SIDE CARDS
   ============================================================ */

.login-side-card {
  min-width: 0;
  min-height: 290px;

  padding: 30px 26px;
  box-sizing: border-box;

  /*background: #ffffff;*/
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);

  border: 1px solid #dbe6ec;
  border-radius: 16px;

  box-shadow:
    0 8px 28px rgba(15, 45, 65, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* SMALL CATEGORY LABEL */

.login-side-label {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 1.3px;

  text-transform: uppercase;

  color: #168da2;

  margin-bottom: 18px;
}


/* TITLE */

.login-side-card h2 {
  margin: 0 0 16px;

  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;

  color: #102b55;
}


/* DESCRIPTION */

.login-side-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #102b55; //#637382;

  margin: 0 0 24px;
}


/* FOOTER */

.login-side-footer {
  padding-top: 16px;

  border-top: 1px solid #e7edf1;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;

  color: #168da2;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

  .login-three-columns {
    max-width: 760px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-three-columns .login-card {
    grid-column: 1 / -1;
    grid-row: 1;

    width: 100%;
    max-width: 400px;
    justify-self: center;
  }

  .login-side-card {
    min-height: 220px;
  }

}


@media (max-width: 600px) {

  .login-three-columns {
    grid-template-columns: 1fr;
  }

  .login-three-columns .login-card {
    grid-column: 1;
  }

  .login-side-card {
    min-height: auto;
    padding: 24px;
  }

  .login-side-card h2 {
    font-size: 19px;
  }

}


.login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.login-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.login-brand {
    margin-bottom: 18px;
}

.login-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin-left: auto;
    margin-bottom: 18px;

    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.login-logo-badge img {
    width: 125px;
    height: auto;
    display: block;
}

/*
.login-title {
  font-size: 18px;
  margin-top: 4px;
}
.login-subtitle{
  font-size: 12px;	
  margin-bottom: 24px;
}
*/


.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #102b55;
}

.login-subtitle {
    //color: rgba(255, 255, 255, 0.95);
    color: #102b55;
	font-size: 1rem;
}

.login-subtitle.spacer {
    margin-bottom: 10px;
}



/* Text field */

.md-field {
  position: relative;
  margin-bottom: 24px;
}

.md-field input {
  width: 100%;
  /*border: none;*/
  border-bottom: 1px solid var(--md-outline);
  padding: 10px 4px;
  font-size: 14px;
  /*background: transparent;*/
  outline: none;
  transition: border-color var(--md-transition);
}

.md-field input:focus {
  border-bottom: 2px solid var(--md-primary);
}

.md-field label {
  position: absolute;
  /*top: 50%;*/
  left: 4px;
  /*color: #5f6368;*/
  font-size: 14px;
  top: -20px;	
/*	
  transform: translateY(-50%);
  pointer-events: none;
  transition: all var(--md-transition);
*/
}

/* Floating label */
/*
.md-field input:focus + label,
.md-field input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 11px;
  color: var(--md-primary);
}
*/



/* Button */
/*
.md-button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 20px;
  background: var(--md-primary);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--md-transition);
}
*/
/*
.md-button:hover {
  background: var(--md-primary-hover);
}
*/

/* Error */
.md-error {
  margin-top: 16px;
  color: var(--md-error);
  font-size: 13px;
}




/* ===== LOGIN BACKGROUND ===== */

.login-page {
  margin: 0;
  min-height: 100vh;
  background: url('../img/ArchiMedTech_bgnd.png') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 400px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  /*backdrop-filter: blur(18px);*/
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.05) inset;
}

.login-field input {
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  font-size: 14px;
  transition: all 0.2s ease;
}

.login-field input:focus {
  outline: none;
  border-color: #4da3ff;
  box-shadow: 0 0 0 3px rgba(77,163,255,0.25);
}

/* ===== ACTIONS WRAPPER ===== */
/*
.login-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
*/
/* ===== BUTTON UPDATE ===== */
/*
.login-button {
  width: 180px;            /* più largo */
  height: 46px;
  border: none;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.45); /*0.25*/
  background: rgba(255,255,255,0.22); /*0.08*/
  font-size: 14px;	
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #ffffff;
  backdrop-filter: blur(8px);
}
*/
/*
.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.4);
  background: rgba(255, 255, 255, 0.32);
}
*/

/* ============================================================
   MEDEA LOGIN - PRIMARY ACTION
   ============================================================ */

.login-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.login-button {
  width: 100%;
  height: 50px;

  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #08758a 0%,
    #1458a6 100%
  );

  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;

  cursor: pointer;

  box-shadow:
    0 8px 24px rgba(0,100,170,0.35),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* HOVER */

.login-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);

  box-shadow:
    0 12px 32px rgba(0,130,200,0.50),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

/* CLICK */

.login-button:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* KEYBOARD FOCUS */

.login-button:focus-visible {
  outline: 3px solid #9feaff;
  outline-offset: 3px;
}

/* DISABLED */

.login-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

/* LABEL EMAIL / PASSWORD */

.login-card .md-field.login-field label {
  position: absolute;
  top: -20px;
  left: 4px;

  color: #102b55; //168da2
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;

  pointer-events: none;
}

