
.login-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    padding: 1rem;
    font-family: 'Inter', sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    width: 100%;
    border: none;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3748;
}

.login-header h4 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.input-group-text {
    border-radius: 0.75rem 0 0 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
}

.btn-login {
    background: #48bb78;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #38a169;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.form-check-label {
    font-size: 0.875rem;
    color: #718096;
}

.forgot-password {
    font-size: 0.875rem;
    color: #4299e1;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #2b6cb0;
}

/* Logo - səhifənin sol üstündə, kartdan asılı deyil */
.logo-top {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    z-index: 1050;
}

/* Mobil uyğunluq */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem;
        border-radius: 0.75rem;
    }
    .logo-top {
        font-size: 0.8rem;
        top: 1rem;
        left: 1rem;
    }
}


.auth-wrap{
  min-height:calc(100vh - 180px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 14px 28px;
}
.auth-card{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  padding:18px 16px 16px;
}
.auth-title{
  text-align:center;
  font-size:32px;
  font-weight:900;
  margin:6px 0 8px;
}
.auth-sub{
  text-align:center;
  color:#6b7280;
  font-size:13px;
  line-height:1.35;
  margin-bottom:14px;
}
.auth-btn{
  width:100%;
  border:0;
  border-radius:10px;
  padding:13px 14px;
  font-weight:800;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:16px;
}
.auth-btn-green{ background:#10b981; color:#fff; }
.auth-btn-green:active{ transform: translateY(1px); }
.auth-btn-outline{
  background:#fff;
  color:#111827;
  border:1.5px solid #10b981;
}
.auth-or{
  text-align:center;
  margin:10px 0 8px;
  font-weight:900;
}
.auth-link-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
  font-size:13px;
}
.auth-link-row a{ text-decoration:none; font-weight:800; }
.auth-link-left{ color:#111827; }
.auth-link-right{ color:#ef4444; }

/* ====== FORM ====== */
.af-field{ margin-bottom:12px; }
.af-label{
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
  display:block;
}
.af-input{
  width:100%;
  height:46px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  padding:0 12px;
  outline:none;
}
.af-input:focus{ border-color:#10b981; box-shadow:0 0 0 3px rgba(16,185,129,.12); }
.af-password-field{
  position:relative;
}
.af-password-field .af-input{
  padding-right:48px;
}
.af-password-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#6b7280;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.af-password-toggle i{
  font-size:16px;
  line-height:1;
}

@media (max-width: 768px){
  .auth-wrap{
    min-height:calc(100vh - 140px);
    padding:16px 12px 24px;
  }
}

.af-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:8px 0 12px;
}
.af-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}
.af-check input{ width:16px; height:16px; }

.af-forgot{
  font-size:13px;
  font-weight:800;
  color:#2563eb;
  text-decoration:none;
}

/* ====== OTP ====== */
.code-inputs{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top:12px;
}
.code-inputs input{
  width:48px;height:56px;
  border:1.5px solid #e5e7eb;
  border-radius:10px;
  text-align:center;
  font-size:22px;
  outline:none;
}
.code-inputs input:focus{
  border-color:#10b981;
  box-shadow:0 0 0 3px rgba(16,185,129,.12);
}
.timer{
  font-size:13px;
  color:#6b7280;
  text-align:center;
  margin-top:10px;
}

/* Panels */
.auth-panel{ display:none; }
.auth-panel.active{ display:block; }
.panel-top-space{ margin-top:8px; }
.small-danger{ color:#ef4444; font-size:12px; margin-top:6px; }
.small-ok{ color:#10b981; font-size:12px; margin-top:6px; }
