:root {
  --primary-color: #ff8c00;
  --secondary-color: #333;
  --light-gray: #f5f5f5;
  --border-radius: 10px;
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --ms-color: #5e5e5e;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--secondary-color);
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  padding: 40px;
  transition: var(--transition);
}

.login-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.login-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.login-subtitle {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
}

/* Azure AD SSO Styling */
.sso-container {
  margin-bottom: 30px;
}

.btn-azure-login {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 10px 12px;
  width: 100%;
  text-decoration: none;
  color: var(--ms-color);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-azure-login:hover {
  background-color: #f5f5f5;
  border-color: #c7c7c7;
  color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ms-logo {
  height: 24px;
  margin-right: 12px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: #777;
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 15px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.form-control {
  background-color: var(--light-gray);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 12px 15px;
  padding-right: 40px;
  transition: var(--transition);
  font-size: 16px;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
  background-color: white;
}

.input-group {
  position: relative;
}

.icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  z-index: 10;
}

.btn-login {
  background-color: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 20px;
  width: 100%;
  margin-top: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-login:hover {
  background-color: #ff7043;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.alert {
  border-radius: 8px;
  margin-bottom: 25px;
}

@media (max-width: 576px) {
  .login-container {
    padding: 10px;
  }
  
  .login-card {
    padding: 25px;
  }
  
  .login-title {
    font-size: 2rem;
  }
}