/* Modern Split-Screen Login UI for Nexos */
:root {
  --nexos-blue: #003399;
  --nexos-dark-blue: #001a4d;
  --nexos-accent-orange: #ff9933;
  --nexos-bg-light: #f4f7f6;
  --nexos-text-color: #333;
}

body.login-page {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Outfit', sans-serif;
  height: 100vh;
  display: flex;
  background-color: var(--nexos-bg-light);
}

.login-container {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Left side - Branding & Hero Area */
.login-hero {
  flex: 1;
  background: linear-gradient(135deg, var(--nexos-blue), var(--nexos-dark-blue));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 500px;
}

/* Right side - Form Area */
.login-form-side {
  width: 500px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.login-form-container {
  width: 100%;
  max-width: 360px;
}

.login-brand {
  margin-bottom: 40px;
  text-align: center;
}

.login-brand img {
  max-height: 80px;
}

.login-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  text-align: center;
}

.login-header p {
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--nexos-blue);
  box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.1);
}

.btn-login {
  width: 100%;
  background: var(--nexos-blue);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn-login:hover {
  background: var(--nexos-dark-blue);
}

.form-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

.form-footer a {
  color: var(--nexos-blue);
  text-decoration: none;
  font-weight: 600;
}

.integrated-platforms {
  margin-top: 60px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.integrated-platforms p {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.platform-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.platform-badge {
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-sence {
  color: #555;
}

.badge-moodle {
  color: #f98012;
}

@media (max-width: 900px) {
  .login-hero {
    display: none;
  }

  .login-form-side {
    width: 100%;
  }
}

/* Infographic Section */
.infographic-container {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  margin-top: 20px;
  position: relative;
  z-index: 10;
}

.infographic-title {
  text-align: center;
  color: var(--nexos-dark-blue);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.infographic-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.info-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: #f0f4f8;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border: 3px solid var(--nexos-blue);
  box-shadow: 0 8px 16px rgba(0,51,153,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,51,153,0.25);
  background: var(--nexos-blue);
}

.step-icon svg {
  width: 40px;
  height: 40px;
  color: var(--nexos-blue);
  transition: color 0.3s ease;
}

.step-icon:hover svg {
  color: white;
}

.step-number {
  background: var(--nexos-accent-orange);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: -35px;
  margin-bottom: 25px;
  border: 2px solid white;
}

.step-title {
  font-size: 1.2rem;
  color: var(--nexos-dark-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.info-connector {
  flex: 0 0 50px;
  height: 3px;
  background: #dbe2ea;
  margin-top: 40px;
  position: relative;
}

.info-connector::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #dbe2ea;
}

@media (max-width: 900px) {
  .infographic-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .info-connector {
    width: 3px;
    height: 40px;
    flex: none;
    margin: 10px 0;
  }

  .info-connector::after {
    right: -4px;
    top: auto;
    bottom: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #dbe2ea;
  }
  
  .info-step {
    margin-bottom: 20px;
  }
}