* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: url('images/ssabackground.svg') no-repeat center center fixed;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  min-height: 100vh;
}

.login-box {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid #5f4243;
}

.login-logo {
  text-align: center;
  margin: 1rem 0;
}

.login-logo p {
  font-size: 2rem;
  font-weight: 800;
  /* text-transform: uppercase; */
  background: linear-gradient(to right, #361013, #5f4243, #776767);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.section-title {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #361013;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

input[type="text"],

input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 12px;
  background-color: #fdeedc;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
input[type="number"]{
   width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 12px;
  background-color: #fdeedc;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.neomorphic{
 width: 100%;
  padding: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 12px;
 background-color: #fdeedc;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #333;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.neomorphic:focus {
  outline: none;
  border: 2px solid #776767; 
  background-color: #fdeedc;
}
select.form-control {
  height: auto;
  padding: 10px 12px;
  font-size: 1em;
}



input::placeholder,
textarea::placeholder {
  color: #666;
}

input:focus,
textarea:focus,
select:focus {
   border: 2px solid #776767;
  box-shadow: 0 0 8px #fceee2;
  outline: none;
}

.actions {
  text-align: center;
  margin-top: 1rem;
}
.sub-heading{
    font-size:20px;
}
.actions a {
  display: inline-block;
  text-decoration: none;
  background: #a37177;
  padding: 0.75rem 2rem;
  border-radius: 1.5rem;
  font-weight: bold;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.actions a:hover {
  background-color: #3d181a;
  color: white;
}
.section-divider {
    width:100%;
  border: none;
  height: 1px;
  background:#5f4243;
  margin: 30px 0;
}
@media (max-width: 768px) {
  body {
    background: url('images/ssabackground-vertical.svg') no-repeat center center fixed;
    align-items: flex-start;
    padding: 1rem;
  }
  
 
 .sub-heading{
    font-size:15px;
}

  .login-box {
    width: 100%;
    padding:5px;
   background: rgba(255, 255, 255, 0.03);
   backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    


  }
 

  .input-group,
  .form-control,
  .neomorphic,
  textarea,
  select {
    width: 100% !important;
    display: block;
    margin: 0 auto 1rem auto;
    text-align: left;
  }

  .actions {
    text-align: center;
  }

  .actions a {
    width: 100%;
    max-width: 300px;
  }

  .row {
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items: center;
  }

  .col-12 {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .section-title {
    text-align: center;
  }

  /* Optional: adjust font sizes slightly smaller */
  input,
  select,
  textarea {
    font-size: 0.9rem;
  }

  .login-logo p {
    font-size: 1.5rem;
    margin:0;
    padding:0;
  }

}
.dob-group {
  margin-top: 5px;
  gap: 10px;
}

.dob-select {
  width: 100px;
  min-width: 100px;
  flex-shrink: 0;
}

@media (max-width: 430px) {
  .dob-group {
    justify-content:left
  }

  .dob-select {
    width: 80px;
    font-size: 13px;
  }
}



/* ERROR MESSAGES */
.error-notice{
  margin:2px; /* Make sure to keep some distance from all sides */
}

.oaerror{
  width:80%;
  background-color: #ffffff;
  padding:10px;
  border:1px solid #eee;
  border-left-width:5px;
  border-radius: 3px;
  margin:10px auto;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

.danger{
  border-left-color: #d9534f; /* Left side border color */
  background-color: rgba(217, 83, 79, 0.1); /*Same color as the left border with reduced alpha to 0.1*/
}

.danger strong{
  color:#d9534f;
}

/* SUCCESS MESSAGES */
.success {
  border-left-color: #2b542c;
  background-color: rgba(43, 84, 44, 0.1);
}

.success strong {
  color: #2b542c;
}




