@import url("https://fonts.googleapis.com/css?family=IBM+Plex+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Martel+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

.txtEvidenza {
  color: #6993FF; margin: 0px auto 0px auto; padding:0px 10px 0px 10px; background-color:rgba(255,255,255,0.15);
}

.txtEvidenzaEsame {
  color:#4350ea; margin: 0px auto 0px auto; padding:0px 10px 0px 10px; background-color:rgba(255,255,255,0.15);
}

.navbar {
  display: flex;
  flex-direction: row;
  position: relative;
  align-items: center;
  width: 100%;
  height: 50px;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  align-self: center;
}

.navbar li {
  margin: 0 50px;
  list-style-type: none;
  display: flex;
  flex-direction: row;
}
.navbar li:nth-child(2) {
  margin-top: -10px;
  margin-right: 70px;
}


.buttons {
  background-color: #e50914;
  padding: 7px 17px;
  color: white;
  display: flex;
  flex-direction: row;
  border-radius: 3px;
}

.main {
  width: 100%;
  margin-top: -100px;
  background-size: cover;
  align-items: center;
  overflow-x: hidden;
  justify-content: center;
  display: flex;
  background-position: center;
  min-height: 710px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../../assets/media/bg_login.jpg');
}

.area {
  color: white;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 70px;
}

.area h1 {
  font-size: 60px;
  word-spacing: 5px;
  line-height: 75px;
}

.area h3 {
  margin-top: -30px;
  font-size: 27px;
  font-weight: normal;
}

.search {
  width: 150%;
  background-color: none;
  min-height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-top: 10px;
}

.box {
  width: 100%;
  min-height: 65px;
}

.try {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #e50914;
  min-height: 70px;
  width: 70%;
  font-size: 30px;
  text-transform: uppercase;
}

.area h4 {
  margin-top: 10px;
  font-weight: normal;
}

.text {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: center;
  align-content: center;
}
.text p {
  font-size: 1.5rem;
  margin-top: 5px;
}

.text h1 {
  font-size: 3.125rem;
}

.search1 {
  width: 50%;
  background-color: none;
  min-height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin-top: 10px;
}

.box1 {
  width: 100%;
  min-height: 65px;
}

.try1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #e50914;
  min-height: 70px;
  width: 70%;
  color: white;
  font-size: 30px;
  margin: 50px 0;
  text-transform: uppercase;
}


.list1 {
  color: white;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-items: flex-start;
  align-self: center;
  justify-content: center;
  min-height:50px;
  font-size: 13px;
  padding: 0px 70px;
  text-align: left;
}

.list1 li {
  font-size: 13px;
  margin: 7px -10px;
  list-style-type: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-items: center;
  align-self: flex-start;
  justify-content: center;
}

.list1 li a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}

li a {
  font-size: 13px;
  text-align: center;
  color: #999;
}




@media (min-width: 250px) and (max-width: 980px) {
  body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .container1 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-self: center;
  }

  .area h1 {
    font-size: 40px;
    line-height:60px;
  }

  .area h3 {
    margin-top: 10px;
  }

  .container1 img {
    width: 60%;
  }
  .navbar {
    display: flex;
    flex-direction: column;
    background-color: black;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 250px;
    margin-bottom: 30px;

  }



  .search {
    display: flex;
    flex-direction: column;
    margin: 30px;
    width: 50%;
    margin: 0 10px;
  }

  .box {
    width: 100%;
    margin-bottom: 20px;
    margin:30px;
  }

  .try {
    width: 200px;
    margin: 0 10px;
    font-size:17px;
    min-height:50px;
  }

  .search1 {
    display: flex;
    flex-direction: column;
    margin: 30px;
    width: 50%;
    margin: 0 10px;
    margin-bottom: 40px;
  }

h4 {
  color:white;
}

  .box1 {
    width: 100%;
    margin-bottom: 20px;
    margin:30px;
  }

  .try1 {
    width: 200px;
    margin: 0 10px;
    font-size:17px;
    min-height:50px;
  }
  .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
  }

  .text h1 {
    font-size: 2rem;
    margin-left: 10px;
    margin-right: 10px;
  }

  .text p {
    font-size: 1.2rem;
    margin-left: 10px;
    margin-right: 10px;
  }

  .quest .textbox {
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .quest {
    width: 80%;
    min-height: 75px;
    margin-left: 10px;
    margin-right: 10px;
  }
}


/* ================================================
   RD-LOGIN: Esame Regionale - Two Column Layout
   ================================================ */

.rd-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F3F6F9 0%, #E1E9FF 100%);
  padding: 30px 20px;
}

/* Two-column layout container */
.rd-login-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
  width: 100%;
  max-width: 1050px;
}

/* ---- Info Panel (left) ---- */
.rd-login-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rd-info-header {
  margin-bottom: 4px;
}

.rd-info-logo {
  max-height: 50px;
  margin-bottom: 18px;
}

.rd-info-title {
  font-size: 26px;
  font-weight: 700;
  color: #212121;
  line-height: 1.3;
  margin: 0 0 10px;
}

.rd-info-subtitle {
  font-size: 14px;
  color: #80808F;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* Sections */
.rd-info-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.rd-info-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #464E5F;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-info-section-title i {
  font-size: 20px;
  color: #6993FF;
}

/* Step items (numbered list) */
.rd-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.rd-info-item:last-child {
  margin-bottom: 0;
}

.rd-info-step {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E1E9FF;
  color: #6993FF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.rd-info-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #464E5F;
  margin-bottom: 3px;
}

.rd-info-item p {
  font-size: 12px;
  color: #80808F;
  line-height: 1.5;
  margin: 0;
}

/* Requirements grid */
.rd-info-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rd-info-req {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #F3F6F9;
  border-radius: 8px;
}

.rd-info-req i {
  font-size: 22px;
  color: #6993FF;
  flex-shrink: 0;
}

.rd-info-req span {
  font-size: 12px;
  font-weight: 600;
  color: #464E5F;
  line-height: 1.4;
}

.rd-info-req small {
  font-weight: 400;
  color: #B5B5C3;
  font-size: 11px;
}

/* Alert box */
.rd-info-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFF4DE;
  border-radius: 12px;
  padding: 18px 20px;
  border-left: 4px solid #FFA800;
}

.rd-info-alert > i {
  font-size: 24px;
  color: #FFA800;
  flex-shrink: 0;
  margin-top: 2px;
}

.rd-info-alert strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #464E5F;
  margin-bottom: 4px;
}

.rd-info-alert p {
  font-size: 12px;
  color: #80808F;
  line-height: 1.5;
  margin: 0;
}

/* ---- Login Card (right) ---- */
.rd-login-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 460px;
  flex-shrink: 0;
  padding: 36px 32px 28px;
  align-self: flex-start;
}

.rd-login-header {
  text-align: center;
  margin-bottom: 10px;
}

.rd-login-header img {
  max-height: 60px;
  margin-bottom: 14px;
}

.rd-login-badge {
  display: inline-block;
  background-color: #E1E9FF;
  color: #6993FF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.rd-login-divider {
  height: 1px;
  background: #ECF0F3;
  margin: 14px 0 6px;
}

/* Partner info box */
.rd-login-partner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F3F6F9;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 10px 0 2px;
}

.rd-login-partner-icon {
  font-size: 22px;
  color: #6993FF;
  margin-top: 1px;
  flex-shrink: 0;
}

.rd-login-partner-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #464E5F;
  line-height: 1.3;
}

.rd-login-partner-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rd-login-partner-contact span {
  font-size: 11px;
  color: #80808F;
  font-weight: 500;
}

.rd-login-partner-contact i {
  font-size: 12px;
  color: #B5B5C3;
  margin-right: 2px;
}

.rd-login-footer {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #ECF0F3;
}

.rd-login-footer .rd-login-release {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #B5B5C3;
  margin-bottom: 10px;
}

.rd-login-footer .rd-login-assistenza {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6993FF;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  background: #E1E9FF;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 12px;
}

.rd-login-footer .rd-login-assistenza:hover {
  background: #6993FF;
  color: #ffffff;
}

.rd-login-footer .rd-login-copyright {
  display: block;
  font-size: 11px;
  color: #B5B5C3;
  font-weight: 500;
}

.rd-login-footer .rd-login-copyright a {
  color: #6993FF;
  text-decoration: none;
  font-weight: 600;
}

.rd-login-footer .rd-login-copyright a:hover {
  text-decoration: underline;
}

/* Eye icon fix for password field */
.rd-login-card .rd-pass-eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #B5B5C3;
  z-index: 10;
  font-size: 16px;
}

.rd-login-card .rd-pass-eye:hover {
  color: #6993FF;
}

/* ---- Responsive ---- */

/* Tablet: stack layout, center card */
@media (max-width: 991.98px) {
  .rd-login-layout {
    flex-direction: column;
    align-items: center;
    max-width: 540px;
  }

  .rd-login-info {
    order: 2;
  }

  .rd-login-card {
    order: 1;
    max-width: 100%;
  }

  .rd-info-header {
    text-align: center;
  }

  .rd-info-title {
    font-size: 22px;
  }
}

/* Mobile: compact */
@media (max-width: 575.98px) {
  .rd-login-wrapper {
    padding: 10px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .rd-login-layout {
    gap: 20px;
  }

  .rd-login-card {
    border-radius: 12px;
    padding: 24px 18px 20px;
  }

  .rd-login-header img {
    max-height: 50px;
  }

  .rd-info-section {
    padding: 18px 16px;
  }

  .rd-info-req-grid {
    grid-template-columns: 1fr;
  }

  .rd-info-title {
    font-size: 20px;
  }
}