/* ============================================================
   EMANTOURS CRM - AUTH STYLES
   Split-screen layout for professional login/register
   ============================================================ */

.auth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  background: #f4f7f6;
  z-index: 10000;
}

/* LEFT SIDE - BRANDING */
.auth-left {
  flex: 1;
  background: #001233 !important; /* Very dark professional blue */
  background: linear-gradient(135deg, #001233 0%, #002855 100%) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Decorative geometric shapes */
.auth-left::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.auth-left-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 450px;
}

.auth-logo-icon {
  font-size: 80px;
  margin-bottom: 25px;
  display: inline-block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.auth-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.auth-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-weight: 300;
}

/* RIGHT SIDE - FORM */
.auth-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #f8fafc;
}

.auth-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 50px 40px;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(0,0,0,0.05);
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card-header {
  margin-bottom: 35px;
  text-align: center;
}

.auth-card-title {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.auth-card-subtitle {
  font-size: 15px;
  color: #64748b;
}

.auth-form-group {
  margin-bottom: 22px;
}

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.2s ease;
  color: #0f172a;
}

.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.auth-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.auth-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.auth-switch {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #64748b;
}

.auth-switch a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-switch a:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 900px) {
  .auth-wrapper {
    flex-direction: column;
  }
  .auth-left {
    flex: none;
    padding: 40px 20px;
  }
  .auth-logo-icon {
    font-size: 60px;
    margin-bottom: 15px;
  }
  .auth-title {
    font-size: 28px;
  }
  .auth-right {
    flex: 1;
    align-items: flex-start;
    padding: 30px 20px;
  }
  .auth-card {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }
}
