/* login.css */

/* Body & general layout */
body.auth-body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  direction: rtl;
}

/* Shell wrapper */
.auth-shell {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  box-sizing: border-box;
}

/* Card */
.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 32px 24px;
  text-align: center;
}

/* Titles */
.auth-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #111827;
}

.auth-sub {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Error messages */
.auth-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: right;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

/* Labels */
.auth-label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #374151;
  text-align: right;
}

/* Inputs */
.auth-input {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin-top: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Remember me */
.auth-remember {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #374151;
  margin-top: 4px;
}

.auth-remember input {
  margin-left: 6px;
}

/* Buttons */
.auth-btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.auth-btn-primary:hover {
  background: #1d4ed8;
}

/* Links */
.auth-link {
  color: #2563eb;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Small text */
.small {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .auth-card {
    padding: 24px 16px;
  }

  .auth-title {
    font-size: 1.6rem;
  }
}
