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

/* Base */
body, html {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  background: url("../../static/login/imagen.png") center center / cover no-repeat;
}

/* Background Overlay */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Left Side - Publicis Logo */
.left-side {
  position: absolute;
  left: 50%;      /* center in left half */
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60%;     /* bigger: 60% of left half */
  height: auto;   /* keep aspect ratio */
}

.publicis-logo {
  width: 250px;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

/* Login Card */
.login-card {
  background: white;
  width: 450px;
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-right: 10%;
  position: relative;
  z-index: 3;
  text-align: center;
}

/* Logo */
.logo {
  width: 200px;
  height: auto;
  margin-bottom: 40px;
}

/* Welcome Text */
.welcome-text {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #28A745 0%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

/* Subtitle */
.subtitle {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Login Button */
.login-button {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #28A745 0%, #1e7e34 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 40px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.login-button:active {
  transform: translateY(0);
}

/* Support Text */
.support-text {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.6;
}

.support-text a {
  color: #28A745;
  text-decoration: none;
  font-weight: 500;
}

.support-text a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .left-side {
    display: none;
  }
  
  .login-card {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .login-card {
    width: 90%;
    padding: 40px 30px;
    margin: 0 auto;
  }
  
  .logo {
    width: 160px;
  }
  
  .welcome-text {
    font-size: 2rem;
  }
  
  .login-button {
    padding: 14px 20px;
    font-size: 1rem;
  }
}