/* ========================================
   Login Page - Admin Okalm
   ======================================== */

/* ========================================
   1. RESET & BASE
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* ========================================
   2. LOGIN CONTAINER
   ======================================== */

.login-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}

/* ========================================
   3. LOGO
   ======================================== */

.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo h1 {
  color: #667eea;
  font-size: 28px;
  margin-bottom: 5px;
}

.logo p {
  color: #666;
  font-size: 14px;
}

/* ========================================
   4. FORM
   ======================================== */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

/* ========================================
   5. BUTTON
   ======================================== */

.btn-login {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-login:hover {
  transform: translateY(-2px);
}

.btn-login:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   6. ALERTS
   ======================================== */

.alert {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: none;
}

.alert.error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.alert.success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
}
