@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary: #ffffff;
  --secondary: #999999;
  --dark: #000000;
  --darker: #0c0c0c;
  --glass-bg: rgba(20, 20, 20, 0.5);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text: #e2e8f0;
  --subtext: #94a3b8;
}

body.login-body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  background-color: var(--darker);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
}

.login-wrapper { display: flex; height: 100vh; width: 100vw; }

.login-image-section {
  flex: 1; position: relative;
  background: white; 
  display: flex; align-items: flex-end;
  padding: 60px; overflow: hidden;
}

.breathe-image {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 90%; object-fit: contain; z-index: 1;
  animation: breatheScale 12s infinite ease-in-out alternate;
}

@keyframes breatheScale {
  0%   { transform: translate(-50%, -50%) scale(1); filter: brightness(1) drop-shadow(0 0 10px rgba(0,0,0,0.1)); }
  100% { transform: translate(-50%, -50%) scale(1.08); filter: brightness(0.8) drop-shadow(0 0 20px rgba(0,0,0,0.3)); }
}

.login-image-section::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 50%, rgba(12,12,12,1) 100%);
  z-index: 2;
}

.image-overlay { position: relative; z-index: 3; max-width: 500px; }

/* T-1000 LIQUID METAL / CHROME EFFECT */
.liquid-metal-text {
  background: linear-gradient(to right, #6b6b6b 0%, #dbdbdb 10%, #ffffff 30%, #7d7d7d 50%, #f4f4f4 70%, #6b6b6b 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineText 5s linear infinite;
  text-transform: uppercase;
  font-family: 'Fira Code', monospace;
  font-size: 3.5rem;
  margin: 0 0 10px 0;
  letter-spacing: -2px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

@keyframes shineText {
  to { background-position: 200% center; }
}

.image-overlay p {
  font-size: 1.2rem; color: #555555; margin: 0; font-weight: 500; line-height: 1.6;
}

.login-form-section {
  flex: 0 0 500px; background: var(--darker); display: flex; justify-content: center; align-items: center; padding: 40px; position: relative;
}

/* Glass box with metallic / mercury tint */
.login-glass-box {
  width: 100%; max-width: 380px;
  background: rgba(30, 30, 30, 0.4);
  backdrop-filter: blur(25px) contrast(130%) brightness(110%);
  -webkit-backdrop-filter: blur(25px) contrast(130%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 
    inset 0 0 20px rgba(255,255,255,0.1),
    max(0px, 0px) 20px 50px rgba(0, 0, 0, 0.9);
  position: relative; z-index: 2;
}

.logo-area { text-align: center; margin-bottom: 40px; }
.tech-logo { width: 55px; height: 55px; stroke: #dbdbdb; margin-bottom: 10px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }

.login-form-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; z-index: 1;
}

.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-family: 'Fira Code', monospace; font-size: 0.75rem; color: #a1a1a1; margin-bottom: 8px; letter-spacing: 2px; }
.input-group input { 
  width: 100%; padding: 15px; 
  background: rgba(0, 0, 0, 0.5); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  border-radius: 12px; color: white; font-family: 'Fira Code', monospace; font-size: 1rem; outline: none; transition: 0.3s; box-sizing: border-box; 
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}
.input-group input:focus { border-color: #ffffff; background: rgba(20, 20, 20, 0.8); box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); }

/* TERMINATOR LIQUID METAL BUTTON */
.cyber-button { 
  width: 100%; padding: 16px; margin-top: 10px; 
  background: linear-gradient(135deg, #d4d4d4 0%, #8a8a8a 25%, #ffffff 50%, #767676 75%, #cccccc 100%);
  background-size: 200% auto;
  border: 1px solid #ffffff; 
  border-radius: 12px; 
  color: #000000; 
  font-family: 'Fira Code', monospace; font-weight: 700; font-size: 1.1rem; letter-spacing: 2px; 
  cursor: pointer; transition: 0.3s; text-transform: uppercase; 
  text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
  box-shadow: 
    inset 0 1px 3px rgba(255,255,255,1), 
    inset 0 -2px 5px rgba(0,0,0,0.4),
    0 5px 15px rgba(0,0,0,0.6);
  animation: shineText 4s linear infinite;
}
.cyber-button:hover { 
  transform: translateY(-2px); 
  box-shadow: 
    inset 0 1px 5px rgba(255,255,255,1), 
    inset 0 -2px 5px rgba(0,0,0,0.4),
    0 10px 25px rgba(255,255,255,0.4);
}

.error-alert { background: rgba(255, 255, 255, 0.05); border: 1px solid #ff4d4d; color: #ff4d4d; padding: 12px; border-radius: 8px; text-align: center; font-size: 0.9rem; margin-bottom: 20px; font-family: 'Fira Code', monospace; }
.footer-text { text-align: center; margin-top: 30px; font-size: 0.7rem; color: var(--subtext); font-family: 'Fira Code', monospace; opacity: 0.6; }

@media (max-width: 900px) {
  .login-wrapper { flex-direction: column; }
  .login-image-section { flex: 0 0 35vh; padding: 30px; align-items: center; justify-content: center; }
  .login-image-section::after { background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(12,12,12,1) 100%); }
  .image-overlay, .image-overlay h1, .image-overlay p { text-align: center; }
  .login-form-section { flex: 1; padding: 20px; align-items: flex-start; }
  .login-glass-box { margin-top: -60px; padding: 30px; }
}
