/* Main Layout */
.login-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.login-main {
  flex: 2;
}

.login-sidebar {
  flex: 1;
}

/* Login Box Styles */
.login-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.login-box h2 {
  background: #f8f9fa;
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.login-box h2 i {
  margin-right: 0.5rem;
}

.login-content {
  padding: 1.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.required {
  color: #4A4A4A;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Password Input Group */
.password-input-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
}

/* Remember Me Checkbox */
.remember-me {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

/* Submit Button */
.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background: #2563eb;
}

/* Sidebar Styles */
.first-connection {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.first-connection h3 {
  background: #f8f9fa;
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.connection-content {
  padding: 1.5rem;
}

.service-access {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  width:100%;
  text-align: center;
}

.service-access:hover {
  background: #2563eb;
  color: white;
  text-decoration: none;
}

.asterisk {
  color: #dc2626;
}

.access-note {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    padding: 1rem;
  }

  .login-main,
  .login-sidebar {
    flex: none;
    width: 100%;
  }
}