.login-container {
    position: fixed;
    top: 46%;
    left: 64%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Tabs */
.tabs-header {
    display: flex;
    gap: 9px;
    width: 100%;
    z-index: 2;
    justify-content: flex-start;
    position: relative;
    top: 0.11rem;
}

.tab {
  background: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: 20px 20px 0 0;
  padding: 9px 35px 6px 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #0b4d6e;
  font-weight: 600;
  text-align: right;
  backdrop-filter: sepia(1);
  transition: all 0.2s ease;
  width: 42%;
  line-height: 1.2;
}

.tab.active {
  background: #ffffff !important;
  color: #ff6b00;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.tab i {
  font-size: 1.1rem;
}

/* Card Body */
.card {
  background: #ffffff;
    width: 100%;
    border-radius: 30px 0px 30px 30px;
    padding: 20px 35px 45px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    height: 34rem;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 5px;
}

.logo-icon {
  color: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.logo-icon img {
    max-height: 100px;
    width: 100%;
}

.logo-text h2 {
  font-size: 1.6rem;
  color: #00796B;
  font-weight: 800;
  line-height: 1.1;
}

.logo-text p {
  font-size: 0.85rem;
  color: #668393;
}

/* Form Headings */
.form-title {
  color: #0b4d6e;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  font-family: 'Heebo';
}

/* Color Accent Bar below title */
.form-title::after {
  content: '';
  display: block;
  width: 30%;
  height: 3px;
  background: linear-gradient(to left, #00a884, #ff8c00);
  margin-top: 10px;
  border-radius: 2px;
}

.form-description {
  font-size: 0.78rem;
  color: #667085;
  font-weight: 700;  
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 10px;
}

/* Form Inputs */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.78rem;
  color: #8c9ba5;
  text-align: right;
}

.input-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e0e6ed;
  font-size: 1.5rem;
  color: #101828;
  outline: none;
  transition: border-color 0.2s;
  text-align: right;
  background-color: #fcfcfc;
  height: 59px;
  font-weight: 600;
}

.reg-login-lable {
    width: fit-content;
    border: 1px solid #e0e6ed;
    padding: 0 10px;
    position: relative;
    top: 15px;
    right: 15px;
    z-index: 1;
    background: white;
}

.input-group input:focus {
  border-color: #0b4d6e;
  background-color: #ffffff;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-left: 36px;
}

.toggle-password {
  position: absolute;
  left: 10px;
  background: none;
  border: none;
  color: #8c9ba5;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Support Text */
.support-info {
    font-size: 0.75rem;
    color: #8c9ba5;
    line-height: 1.4;
    position: absolute;
    bottom: 1rem;
}

.support-info span {
  display: block;
  font-weight: 600;
}

.support-info a {
  color: #8c9ba5;
  text-decoration: none;
}

/* Submit Action Button (Overlapping Card Bottom-Left) */
.submit-btn {
    position: absolute;
    bottom: -25px;
    left: -20px;
    background: #ff7a00;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 12px 20px;
    display: grid;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 3;
    grid-template-columns: 2fr 1fr;
    height: 6rem;
}

.submit-btn:hover {
  background: #e66e00;
  transform: translateY(-2px);
}

.submit-btn i {
  font-size: 1.2rem;
  transform: rotate(45deg);
}

.submit-btn div {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-align: right;
  top: 8px;
  position: relative;
}

.submit-btn div span {
  display: block;
}

.submit-btn img {
    width: 35px;
    height: 30px;
    top: 4px;
    position: absolute;
    left: 2px;
}

#password-email-container {
    display: none;
}

.Rectangle{
    display: none;
}

body {
  margin: 0;
  background: url('/images/binaLoginPage.png') center / 100% 100% no-repeat fixed;
}

/* OTP code-entry boxes */
.code-container {
  display: flex;
  direction: ltr;
  gap: 8px;
  justify-content: space-between;
  margin: 16px 0;
}

.code-square {
  width: 52px;
  height: 58px;
  background: #eff2f4;
  border-radius: 9px;
  direction: rtl;
}

.code-square-input {
  width: 100%;
  height: 100%;
  background: transparent;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  border: 2px solid transparent;
  border-radius: 9px;
  outline: none;
  color: #0b4d6e;
  transition: border-color 0.15s;
}

.code-square-input:focus {
  border-color: #0b4d6e;
  background: #fff;
}

#otp-sent-msg {
  margin-bottom: 4px;
}

.send-code-again {
  font-size: 0.8rem;
  color: #0b4d6e;
  cursor: pointer;
  text-align: center;
  margin: 8px 0;
  text-decoration: underline;
}

.error-message {
  color: #d32f2f;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

/* Laravel validation errors component */
.text-red-600 { color: #d32f2f; }
.font-medium  { font-weight: 600; }
.list-disc    { list-style-type: disc; padding-right: 1.2rem; }
.mt-3         { margin-top: 0.75rem; }
.text-sm      { font-size: 0.8rem; }
.mb-4         { margin-bottom: 1rem; }

.hidden {
  display: none !important;
}

#loginButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1.5px solid #0b4d6e;
  border-radius: 8px;
  color: #0b4d6e;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: right;
}

#loginButton:hover {
  background: #0b4d6e;
  color: #ffffff;
}

#password-tab{
    background: linear-gradient(180deg, #FFFFFF 0%, #E8EEF2 50%, #DCE6EB 100%)
}

#password-tab img {
    width: 20px;
   
}
#otp-tab img {
    width: 20px;
}

@media (max-width: 992px) {
    .login-container {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
        width: 100%;
        max-width: 460px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 5% auto;
    }
}

@media (max-width: 560px) {
    .login-container {
        width: 97%;
    }

    .submit-btn {
        left: 16px;
    }
    .support-info{
        bottom: 4rem;
    }

    .mini-img {
        display: none;
    }
    
    .tab {
        padding: 9px 23px 6px 0px;
        width: 45%;
    }
}