/* ========================================
   OMNICANE GARAGE — PREMIUM LOGIN PAGE
   Brand modernization with Omnicane colors
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ===== BRAND COLORS ===== */
  --color-primary: #4A90E2;
  --color-primary-dark: #1565C0;
  --color-secondary: #6FB233;
  --color-secondary-light: #8BC53F;
  --color-warning: #F4A340;
  
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --error: #E95B52;
  
  --radius: 12px;
  --radius-sm: 8px;
  --radius-md: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  margin-left: 0 !important;
  
  /* Premium gradient background */
  background: linear-gradient(
    135deg,
    #1565C0 0%,
    #4A90E2 25%,
    #6FB233 50%,
    #8BC53F 75%,
    #4A90E2 100%
  );
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Geometric background decoration */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   LOGIN CONTAINER & CARD
   ======================================== */

.login-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.login-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 450px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
  padding: 40px 30px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.brand-divider-line {
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.brand-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ========================================
   LOGIN FORM BODY
   ======================================== */

.login-form-body {
  padding: 40px;
}

.form-title {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ========================================
   FORM GROUPS & INPUTS
   ======================================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.input-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input::placeholder {
  color: var(--text-secondary);
}

/* ========================================
   PASSWORD TOGGLE
   ======================================== */

.toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.toggle-pass:hover {
  color: var(--color-primary);
}

/* ========================================
   ERROR MESSAGES
   ======================================== */

.error {
  font-size: 12px;
  color: var(--error);
  min-height: 16px;
  margin-top: -4px;
}

/* ========================================
   BUTTONS
   ======================================== */

#submitBtn {
  width: 100%;
  padding: 12px 20px;
  margin-top: 8px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

#submitBtn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.3);
}

#submitBtn:active {
  transform: translateY(0);
}

#submitBtn:disabled {
  background: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

/* ========================================
   STATUS MESSAGES
   ======================================== */

.status-message {
  min-height: 20px;
  font-size: 13px;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.status-message.success {
  background-color: #eaf6dd;
  color: #3c6e11;
  border: 1px solid #6FB233;
}

.status-message.error {
  background-color: #fdf0ef;
  color: #8b2620;
  border: 1px solid #E95B52;
}

/* ========================================
   FOOTER
   ======================================== */

.login-footer-note {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .login-container {
    padding: 15px;
  }

  .login-card {
    max-width: 100%;
  }

  .login-card-header {
    padding: 30px 20px;
  }

  .brand-logo {
    width: 60px;
  }

  .login-form-body {
    padding: 30px;
  }

  .form-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .login-card-header {
    padding: 24px 16px;
  }

  .brand-logo {
    width: 50px;
  }

  .login-form-body {
    padding: 24px;
  }

  .form-title {
    font-size: 20px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 16px;
  }

  #submitBtn {
    padding: 10px 16px;
    font-size: 14px;
  }

  body::before,
  body::after {
    width: 400px;
    height: 400px;
  }
}
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--eastern-orange) 0%, #E02020 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(232, 90, 12, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--eastern-orange-hover) 0%, var(--eastern-orange) 100%);

    box-shadow: 0 6px 20px rgba(232, 90, 12, 0.45);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(232, 90, 12, 0.3);
}

.status-message {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    padding: 10px;
    border-radius: var(--radius-sm);
}

.status-message.success {
    color: #059669;
    background: #d1fae5;
}

.status-message.error {
    color: var(--error);
    background: #fee2e2;
}

/* Footer note */
.login-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 16px;
    }
    .login-card-header {
        padding: 24px 24px 20px;
    }
    .login-form-body {
        padding: 22px 24px 26px;
    }
}
