/* 
  Clean Modern Logic Design - Matching User Reference
  Features: Light Blue Inputs, Vibrant Blue Button, White Minimalist Card
*/

:root {
  --bg-page: #f1f5f9;
  --card-bg: #ffffff;
  --input-bg: #eef2ff; /* Light bluish background for inputs */
  --btn-primary: #1d4ed8; /* Vibrant blue */
  --btn-hover: #1e40af;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --border-radius: 2.2rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-page);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-page {
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.login-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 4rem 3rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* =====================
   VLC Solar Brand Logo
   ===================== */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.vlc-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  user-select: none;
}

/* --- Sun Wrapper --- */
.sun-wrapper {
  position: relative;
  width: 80px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

/* --- Sun Rays --- */
.sun-rays {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sun-rays span {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 3px;
  height: 10px;
  background: linear-gradient(to top, #F5A623, #FFD95A);
  border-radius: 2px;
  transform-origin: bottom center;
}

.sun-rays span:nth-child(1)  { transform: translateX(-50%) rotate(-90deg) translateY(-22px); }
.sun-rays span:nth-child(2)  { transform: translateX(-50%) rotate(-70deg) translateY(-22px); }
.sun-rays span:nth-child(3)  { transform: translateX(-50%) rotate(-50deg) translateY(-22px); }
.sun-rays span:nth-child(4)  { transform: translateX(-50%) rotate(-30deg) translateY(-22px); }
.sun-rays span:nth-child(5)  { transform: translateX(-50%) rotate(-10deg) translateY(-22px); }
.sun-rays span:nth-child(6)  { transform: translateX(-50%) rotate(10deg)  translateY(-22px); }
.sun-rays span:nth-child(7)  { transform: translateX(-50%) rotate(30deg)  translateY(-22px); }
.sun-rays span:nth-child(8)  { transform: translateX(-50%) rotate(50deg)  translateY(-22px); }
.sun-rays span:nth-child(9)  { transform: translateX(-50%) rotate(70deg)  translateY(-22px); }
.sun-rays span:nth-child(10) { transform: translateX(-50%) rotate(90deg)  translateY(-22px); }

/* --- Half Sun Body --- */
.sun-half {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 16px;
  border-radius: 16px 16px 0 0;
  background: radial-gradient(ellipse at 40% 60%, #FFE566, #F5A623);
  z-index: 2;
}

/* --- Horizon Line --- */
.sun-horizon {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2.5px;
  background: linear-gradient(to right, transparent, #E8820C 20%, #E8820C 80%, transparent);
  border-radius: 2px;
  z-index: 1;
}

/* --- Brand Text --- */
.brand-text {
  display: flex;
  align-items: baseline;
  font-family: 'Arial Black', 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 4px;
}

.brand-vlc {
  background: linear-gradient(135deg, #E84A0C, #F5820C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.brand-space { width: 8px; display: inline-block; }

.brand-s {
  color: #2A6DB5;
  font-style: italic;
}

.brand-sun-dot {
  color: #F5A623;
  font-size: 1.3rem;
  line-height: 1;
  margin: 0 1px;
  vertical-align: middle;
  display: inline-block;
  transform: translateY(-3px);
  filter: drop-shadow(0 0 3px rgba(245,166,35,0.5));
}

.brand-olar {
  color: #2A6DB5;
  font-style: italic;
}

/* --- Welcome Text --- */
.welcome-text {
  text-align: center;
  margin-bottom: 2.5rem;
}

.welcome-text h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.welcome-text p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* --- Input Fields --- */
.input-field {
  margin-bottom: 1.5rem;
}

.input-box {
  background: var(--input-bg);
  display: flex;
  align-items: center;
  padding: 0.25rem 1.5rem;
  border-radius: 1.25rem;
  height: 70px;
  transition: all 0.3s;
}

.input-box i {
  color: #94a3b8;
  font-size: 1.2rem;
  margin-right: 1.25rem;
}

.input-box input {
  background: transparent;
  border: none;
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
}

.input-box input::placeholder {
  color: #94a3b8;
}

/* --- Forgot Password --- */
.forgot-pass {
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.forgot-pass a {
  color: var(--btn-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s;
}

.forgot-pass a:hover {
  color: var(--btn-hover);
  text-decoration: underline;
}

/* --- Action Button --- */
.blue-btn {
  width: 100%;
  background: var(--btn-primary);
  color: white;
  border: none;
  padding: 1.35rem;
  border-radius: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 1rem;
  box-shadow: 0 10px 30px -10px rgba(29, 78, 216, 0.4);
}

.blue-btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(29, 78, 216, 0.6);
}

/* --- Alert Styling --- */
.error-alert {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #ef4444;
  padding: 1rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-align: center;
}

.success-alert {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a34a;
  padding: 1rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* --- Footer Rights --- */
.card-rights {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1rem;
}

.card-rights p {
  font-size: 0.85rem;
  color: var(--text-gray);
  font-weight: 500;
}