/* ============================================================
   PREMIUM REDESIGNED THERAPIST LOGIN STYLE — RE-MIND
   ============================================================ */

#login-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: #ffffff;
  overflow: hidden;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  display: block; /* Overrides absolute positioning in legacy styles */
}

.login-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  width: 100%;
  height: 100%;
}

/* ============================================================
   LEFT COLUMN — VISUAL BANNER & COLLAGE
   ============================================================ */
.login-banner {
  background: radial-gradient(circle at 10% 20%, rgba(0, 168, 132, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(0, 80, 130, 0.06) 0%, transparent 60%),
              #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(0,0,0,0.04);
}

.banner-content {
  max-width: 620px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.banner-logo {
  width: 160px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 8px 16px rgba(0, 80, 130, 0.05));
  transition: transform 0.3s;
}

.banner-logo:hover {
  transform: scale(1.03);
}

.banner-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 950;
  color: #005082;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.banner-title span {
  background: linear-gradient(135deg, #005082 0%, #00a884 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.banner-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 45px;
}

/* Floating collage */
.banner-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.main-collage-img {
  width: 85%;
  max-width: 440px;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 25px 50px rgba(0, 80, 130, 0.12));
  animation: float-collage 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes float-collage {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* Floating micro cards */
.collage-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  z-index: 3;
  animation: float-card 8s ease-in-out infinite;
}

.collage-card i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.icon-teal { background: rgba(0, 168, 132, 0.1); color: #00a884; }
.icon-blue { background: rgba(0, 80, 130, 0.1); color: #005082; }
.icon-gold { background: rgba(234, 179, 8, 0.1); color: #eab308; }

.card-details {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.card-details span {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.card-details strong {
  font-size: 13px;
  font-weight: 900;
  color: #1e293b;
}

.card-1 {
  top: 15%;
  right: -5%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 20%;
  left: -5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 5%;
  right: 5%;
  animation-delay: 4s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   RIGHT COLUMN — FORM CARD AREA
   ============================================================ */
.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #ffffff;
  overflow-y: auto;
}

.login-card {
  width: 100%;
  max-width: 420px;
  animation: form-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes form-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-logo-mobile {
  display: none;
}

.form-header {
  text-align: right;
  margin-bottom: 35px;
}

.form-header h3 {
  color: #005082;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.form-header p {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.form-body {
  text-align: right;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
  position: relative;
}

.input-group label {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group label i {
  color: #00a884;
}

.input-group input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: #f8fafc;
  color: #1e293b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.input-group input:focus {
  border-color: #00a884;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 168, 132, 0.12);
  transform: translateY(-1px);
}

/* Specific styling for password inputs */
.input-group input[type="password"] {
  letter-spacing: normal;
  text-align: right;
}

/* Submit Button */
.btn-submit-premium {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #005082 0%, #00a884 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 168, 132, 0.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Cairo', sans-serif;
}

.btn-submit-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 168, 132, 0.25);
  filter: brightness(1.03);
}

.btn-submit-premium:active {
  transform: translateY(0);
}

/* Button Loading State */
.btn-submit-premium:disabled {
  background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%) !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
}

.forgot-pass-wrap {
  text-align: center;
  margin-top: 18px;
}

.forgot-link {
  font-size: 13px;
  color: #005082;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #00a884;
}

.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 28px 0;
  color: #94a3b8;
  font-weight: 700;
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: #e2e8f0;
}

/* Secondary Action Button */
.btn-secondary-premium {
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid #e2e8f0;
  background: transparent;
  color: #005082;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Cairo', sans-serif;
}

.btn-secondary-premium:hover {
  border-color: #005082;
  background: rgba(0, 80, 130, 0.03);
  transform: translateY(-1px);
}

.form-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

/* ============================================================
   RESPONSIVENESS BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-banner {
    display: none; /* Hide visual collage column on smaller displays */
  }

  .login-form-area {
    background: radial-gradient(circle at 10% 20%, rgba(0, 168, 132, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(0, 80, 130, 0.05) 0%, transparent 50%),
                #f8fafc;
    min-height: 100vh;
    padding: 30px 20px;
  }

  .login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px rgba(0, 80, 130, 0.06);
    padding: 40px 30px;
    border-radius: 30px;
  }

  .form-logo-mobile {
    display: block;
    width: 140px;
    height: auto;
    margin: 0 auto 25px auto;
    filter: drop-shadow(0 6px 12px rgba(0, 80, 130, 0.04));
  }
  
  .form-header {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .login-form-area {
    padding: 15px;
  }

  .login-card {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .form-header h3 {
    font-size: 22px;
  }

  .input-group input {
    padding: 13px 15px;
    border-radius: 12px;
  }

  .btn-submit-premium {
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
  }
  
  .btn-secondary-premium {
    padding: 13px;
    border-radius: 12px;
    font-size: 13px;
  }
}