/* ========================================================
   CLOUDKU & PANTAUWAKTU - DEDICATED LOGIN STYLES
   Aesthetic: Clean Matte, Natural, Elegant Professional
   ======================================================== */

:root {
  --login-bg: #090d16;
  --login-card: #111827;
  --login-border: #1f2937;
  --login-input-bg: #0b0f19;
  --login-text-main: #f8fafc;
  --login-text-muted: #94a3b8;
  --login-text-dim: #64748b;
  --login-accent: #2563eb;
  --login-accent-hover: #1d4ed8;
  --login-accent-glow: #38bdf8;
}

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

body.login-page-body {
  background-color: var(--login-bg);
  background-image: 
    radial-gradient(circle at 50% 10%, #1e293b 0%, #090d16 80%);
  color: var(--login-text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  -webkit-font-smoothing: antialiased;
}

.login-wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Card Container */
.login-box {
  background: var(--login-card);
  border: 1px solid var(--login-border);
  border-radius: 16px;
  padding: 36px 28px 32px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* Header & Brand */
.login-brand-header {
  text-align: center;
  margin-bottom: 26px;
}

.login-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--login-accent-glow);
  margin-bottom: 14px;
}

.login-brand-header h1 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.login-brand-header p {
  font-size: 13px;
  color: var(--login-text-muted);
}

/* Alert Error Box */
.login-alert-box {
  background: #450a0a;
  border: 1px solid #7f1d1d;
  color: #fca5a5;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 10px;
}

.login-alert-box.active {
  display: flex;
}

/* Form Controls */
.login-form-group {
  margin-bottom: 18px;
}

.login-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 7px;
}

.login-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-container i.input-icon {
  position: absolute;
  left: 14px;
  color: var(--login-text-dim);
  font-size: 14px;
}

.login-input-container input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: var(--login-input-bg);
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input-container input:focus {
  border-color: var(--login-accent-glow);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.login-pass-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--login-text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
}

.login-pass-toggle:hover {
  color: #ffffff;
}

/* Checkbox & Options */
.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--login-text-muted);
}

.login-remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.login-remember-label input {
  accent-color: var(--login-accent);
  width: 15px;
  height: 15px;
}

/* Submit & Action Buttons */
.btn-submit-login {
  width: 100%;
  padding: 12px;
  background: var(--login-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
  font-family: inherit;
}

.btn-submit-login:hover {
  background: var(--login-accent-hover);
}

.btn-back-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.15s ease;
  font-family: inherit;
}

.btn-back-portal:hover {
  background: #334155;
  color: #ffffff;
}

/* Footer Info */
.login-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--login-text-dim);
}
