/* app/static/css/login-register.css */

.flash-notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  width: 300px;
  height: 80px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transition: top 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  gap: 15px;
}

.flash-notification.show {
  top: 30px;
}

.flash-text {
  font-size: 18px;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}


.flash-notification svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.flash-notification.flash-error {
  border-left-color: #FA4B3E;
}

.flash-notification.show {
  transform: translateX(0);
}


/* csss for design */

.register-link a,
.login-link a {
  color: #2BC38C !important;
  font-weight: bold !important;
}

@media screen and (max-width: 768px) {

  /* Main Layout Containers */
  .login-container,
  .register-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center bottom 35% !important;
    padding: 0;
  }

  /* Specific content positioning for each page */
  .register-container .content {
    padding-top: 40px !important;
  }

  .login-container .content {
    padding-top: 120px !important;
  }

  .content {
    width: 350px !important;
    max-width: 350px !important;
    padding-bottom: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    z-index: 2;
  }

  /* Logo Styling */
  .logo {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo svg {
    width: 40px !important;
    height: 40px !important;
  }

  /* Title Styling */
  .title {
    width: 302px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: normal !important;
    text-align: center !important;
    color: #094D39 !important;
    margin-bottom: 30px !important;
  }

  /* Form Container */
  .login-form,
  .register-form {
    width: 350px !important;
    max-width: 350px !important;
    display: flex;
    flex-direction: column;
    gap: 12px !important;
  }

  /* Input Group & Input Fields */
  .input-group {
    width: 100% !important;
    position: relative;
  }

  .input-group input,
  .password-wrapper input {
    width: 100% !important;
    border-radius: 35px !important;
    padding: 25px 30px 10px 30px !important;
    font-size: 16px !important;
  }

  .input-group label {
    font-size: 12px !important;
    top: 10px !important;
    left: 30px !important;
  }

  .input-group ::placeholder {
    left: 30px !important;
    font-size: 16px !important;
  }

  .password-wrapper {
    width: 100% !important;
  }

  .password-wrapper input {
    padding-right: 50px !important;
  }

  .btn-create {
    width: 100% !important;
    height: 70px !important;
    border-radius: 35px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin-top: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 70px !important;
  }

  /* Links at bottom */
  .register-link,
  .login-link {
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    font-size: 14px !important;
  }

  .checkbox-group {
    padding: 5px 0 !important;
  }

  .checkbox-group label {
    font-size: 12px !important;
  }
}




@media screen and (min-width: 769px) {

  .login-container,
  .register-container {
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 40px 20px !important;
  }

  .content {
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .login-form,
  .register-form,
  .flash-message {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .input-group,
  .password-wrapper {
    width: 100% !important;
  }

  .input-group input,
  .password-wrapper input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-create {
    width: 100% !important;
    max-width: 100% !important;
    height: 75px !important;
    line-height: 24px !important;
    padding: 0 !important;
    margin-top: 15px !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-create:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(43, 195, 140, 0.3);
  }

  .title {
    font-size: 32px !important;
    margin-bottom: 30px !important;
    line-height: 1.2 !important;
  }

  .logo {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 20px !important;
  }

  .logo svg {
    width: 100% !important;
    height: 100% !important;
  }
}


@media screen and (max-width: 1400px) and (min-width: 769px) {
  .content {
    max-width: 500px !important;
  }

  .title {
    font-size: 28px !important;
  }
}