:root {
  --primary: #344767;
  --secondary: #67748e;
  --accent: #4A90E2;
  --light-bg: #f8f9fa;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --dark-bg: linear-gradient(135deg, #344767 0%, #2c3e50 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1100px;
  min-height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: white;
  flex-direction: row; /* Fondo claro a la izquierda */
}

.graphic-side {
  flex: 1;
  background: var(--dark-bg);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  display: none;
  order: 2; /* Esto coloca el lado gráfico a la derecha */
}

@media (min-width: 992px) {
  .graphic-side {
    display: flex;
  }
  
  .login-container {
    flex-direction: row; /* Fondo claro primero (izquierda), oscuro después (derecha) */
  }
}

.graphic-side::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.graphic-side::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.graphic-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.colegio-logo {
  max-width: 180px;
  margin-bottom: 30px;
}

.graphic-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color:white;
}

.graphic-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
  font-weight: bold;
}

.features-list {
  text-align: left;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
}

.feature-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-side {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: white;
  order: 1; /* Esto coloca el login a la izquierda */
}

.login-content {
  width: 100%;
  max-width: 400px;
}

.mobile-logo {
  max-width: 120px;
  margin-bottom: 30px;
  display: block;
}

@media (min-width: 992px) {
  .mobile-logo {
    display: block;
  }
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.login-title {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.login-subtitle {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.5;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #757575;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 16px;
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.google-btn:hover {
  background-color: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.google-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 30px 0;
  color: var(--secondary);
  font-size: 14px;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e9ecef;
}

.divider span {
  padding: 0 15px;
}

.login-footer {
  text-align: center;
  margin-top: 40px;
  color: var(--secondary);
  font-size: 14px;
}

.login-footer p {
  margin-bottom: 5px;
}

.secure-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  font-size: 13px;
  color: #28a745;
}

.secure-icon {
  margin-right: 5px;
}

.platform-note {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 25px;
  font-size: 13px;
  color: var(--secondary);
  text-align: center;
}