/* Base styles */
@import '../src/styles/colors.css';


body {
  min-height: 100vh;
  line-height: 1.5;
  font-weight: 400;
}

/* Container */
.container {
  min-height: 100vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  display: flex;
  background-image: url("/assets/images/image.png");
  /* ✅ Relative Path */
  align-items: center;
  justify-content: center;
  position: relative;
}


/* Login card */
.login-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  padding: 32px;
  margin: 0 16px;
  position: absolute;
  right: 40px;
}

h1 {
  font-size: 1.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--slate-800);
  margin-bottom: 24px;
}

.subtitle {
  text-align: center;
  color: var(--slate-gray);
  margin-bottom: 32px;
}

/* Form styles */
#Remember {
  margin-bottom: 24px;
}

label {
  display: block;
  color: var(--slate-gray-50);
  margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  border: 1px solid var(--box-border-color);
  outline: none;
  transition: all 0.3s;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11px;
  height: 32.5px !important;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: var(--azure-500);
  box-shadow: 0 0 0 2px var(--azure-500);
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
}

.remember-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--slate-50);
  border-radius: 4px;
  margin-right: 8px;
  accent-color: var(--azure-50);
}

.remember-label {
  margin-left: 8px;
  color: var(--slate-gray);
}

/* Login button */
.login-button {
  width: 100%;
  padding: 12px;
  background-color: var(--azure-500);
  color: var(--white);
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: var(--azure-500);
}

.login-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Forgot password */
.forgot-password {
  margin-top: 24px;
  text-align: center;
}

.forgot-password a {
  color: var(--azure-500);
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .cube-container {
    display: none;
  }

  .login-card {
    position: static;
    margin: 0 16px;
  }
}

.LoginFieldsParent {
  width: 100%;
  height: 100%;
  padding-right: 100px;
  display: flex;
  justify-content: end;
  align-items: center;
}

.LoginFieldSubParent {
  width: 320.5px;
  height: 500px;
  border-radius: 12px;
  background-color: var(--white-200);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1200px) {
  .LoginFieldSubParent {
    width:  320.5px  !important;
  }
}

.LogoParentSection {
  width: 100%;
  display: contents;
  justify-content: space-between;
}

.WelcomeSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 28px;
  gap: 10px;
}

@media (max-width: 1200px) {
  .WelcomeSection {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 6px !important;
  }
}

.WelcomeText1 {
  font-size: 18px !important;
  /* font-weight: bolder !important; */
  /* font-weight: 400 !important; */
  letter-spacing: 0.4px !important;
  color: var(--slate-900);
}

@media (max-width: 1200px) {
  .WelcomeText1 {
    font-size: 18px !important;

  }
}

.WelcomeText2 {
  font-size: 11px;
  font-weight: 400;

  letter-spacing: 0.4px !important;
  color: var(--slate-gray);
}

@media (max-width: 1200px) {
  .WelcomeText2 {
    font-size: 11px !important;
  }
}

.UserNameTextFieldSec {
  width: 100%;
  padding: 0px 20px;
  display: flex;
  flex-direction: column;
}

.LabelInputParent {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.LoginPageLabelText {
  font-size: 11px;
  font-weight: 400;
  color: var(--slate-gray);
}

@media (max-width: 1200px) {
  .LoginPageLabelText {
    font-size: 11px !important;
  }
}

.LoginPageInputStyle {
  border: none;
  outline: none;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  background-color: var(--white-200);
  color: var(--slate-900);
  padding: 0px 60px 0px 12px;
  font-size: 9px;
}

@media (max-width: 1200px) {
  .LoginPageInputStyle {
    height: 28.5px !important;
    font-size: 11px !important;
  }
}

.RemindMeParent {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
}

.RemindMeText {
  color: var(--slate-gray-50);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  position: relative;
  top: 3px;
}

@media (max-width: 1200px) {
  .RemindMeText {
    font-size: 11px !important;
  }
}

.LoginPageBtnParent {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.LoginBtnStyle {
  width: 142.5px;
  border-radius: 8px;
  background-color: var(--azure-500);
  color: var(--white);
  letter-spacing: 0.6px !important;
  border: none;
  outline: none;
  cursor: pointer;
  height: 28.5px !important;
  font-size: 10.5px !important;
}

.LoginBtnStyle:hover {
  background-color: var(--azure-600);
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}


@media (max-width: 1200px) {
  .LoginBtnStyle {
    height: 28.5px !important;
    font-size: 10.5px !important;
  }
}

.ForgotParentDiv {
  width: 100%;
  text-align: center;
  padding: 18px 0px 10px 0px;
}

.ForgotPassText {
  color: var(--slate-gray);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.1px;
  text-decoration-line: underline;
  cursor: pointer;
  position: relative;
  top: -14px;
}

@media (max-width: 1200px) {
  .ForgotPassText {
    font-size: 11px !important;
  }
}

a {
  text-decoration: none;
  transition: all 0.6s ease;
}

.RemindMeParent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.RemindMeInput {
  appearance: none;
  /* Hide default checkbox */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  /* Round shape */
  border: 2px solid var(--slate-50);
  /* Dark blue border */
  background-color: var(--white-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.RemindMeInput:checked {
  background-color: var(--slate-800);
  /* Dark blue background */
  border-color: var(--slate-800);
}

.RemindMeInput:checked::after {
  content: '✔';
  color: var(--azure-500);
  font-size: 10.5px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.RemindMeText {
  font-size: 11px;
  color: var(--slate-900);
  cursor: pointer;
}