.login-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

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

.login-card {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 450px;
}

.login-card .logo {
  display: block;
  margin: 0 auto 30px;
  max-width: 200px;
  height: auto;
}

.login-form h2 {
  text-align: center;
  color: #212529;
  margin-bottom: 5px;
}

.login-form .subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  color: #212529;
  margin-bottom: 5px;
}

.form-control {
  height: 45px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #258cfb;
  box-shadow: 0 0 0 0.2rem rgba(37,140,251,0.25);
}

.forgot-password {
  display: block;
  text-align: right;
  color: #6c757d;
  font-size: 14px;
  margin: -10px 0 20px;
  text-decoration: none;
}

.forgot-password:hover {
  color: #258cfb;
}

.btn-primary {
  background-color: #258cfb;
  border-color: #258cfb;
  height: 45px;
  font-size: 16px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.alert {
  margin-bottom: 20px;
  font-size: 14px;
}

/* Migration completion specific styles */
.migration-completion .login-card {
  margin: 0 auto;
}

.migration-completion .form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

.migration-completion .text-center {
  text-align: center;
}

.migration-completion .text-muted {
  color: #6c757d;
}

.migration-completion .mt-3 {
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .login-card {
    padding: 20px;
    margin: 10px;
  }
  
  .login-form h2 {
    font-size: 24px;
  }
  
  .login-form .subtitle {
    font-size: 14px;
  }
  
  .login-page {
    padding: 10px 0;
  }
}

/* Microsoft-style Login Classes */
.ms-login-page {
  background: #f3f2f1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ms-login-container {
  width: 100%;
  max-width: 500px;
  padding: 0 20px;
}

.ms-login-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 40px;
  width: 100%;
}

.ms-login-header {
  text-align: center;
  margin-bottom: 30px;
}

.ms-login-header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ms-logo {
  margin-right: 15px;
}

.ms-logo-img {
  height: 40px;
  width: auto;
}

.ms-brand-text {
  font-size: 24px;
  font-weight: 600;
  color: #323130;
}

.ms-title {
  font-size: 28px;
  font-weight: 600;
  color: #323130;
  margin: 0 0 8px 0;
}

.ms-subtitle {
  font-size: 16px;
  color: #605e5c;
  margin: 0;
}

.ms-form-group {
  margin-bottom: 20px;
}

.ms-form-label {
  display: block;
  font-weight: 600;
  color: #323130;
  margin-bottom: 8px;
  font-size: 14px;
}

.ms-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d2d0ce;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.ms-form-input:focus {
  outline: none;
  border-color: #0078d4;
  box-shadow: 0 0 0 2px rgba(0,120,212,0.2);
}

.ms-form-button {
  width: 100%;
  background: #0078d4;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.ms-form-button:hover {
  background: #106ebe;
}

.ms-form-button:disabled {
  background: #a19f9d;
  cursor: not-allowed;
}

.ms-button-text {
  display: inline-block;
}

.ms-button-spinner {
  display: none;
}

.ms-spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ms-login-footer {
  text-align: center;
  margin-top: 30px;
}

.ms-footer-text {
  color: #605e5c;
  margin: 0 0 15px 0;
  font-size: 14px;
}

.ms-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.ms-link {
  color: #0078d4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.ms-link:hover {
  color: #106ebe;
  text-decoration: underline;
}

.ms-link.ms-small {
  font-size: 12px;
}

.ms-alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ms-alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ms-alert-success {
  background: #dff6dd;
  border: 1px solid #107c10;
  color: #107c10;
}

.ms-alert-error {
  background: #fde7e9;
  border: 1px solid #d13438;
  color: #d13438;
}

.ms-alert-info {
  background: #deecf9;
  border: 1px solid #0078d4;
  color: #0078d4;
}

.text-danger {
  color: #d13438;
  font-size: 12px;
  margin-top: 4px;
  display: block;
} 