/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: local('Open Sans Light'), local('OpenSans-Light'), url('/fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/open-sans-v15-latin-300.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url('/fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/open-sans-v15-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url('/fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/open-sans-v15-latin-600.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url('/fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/open-sans-v15-latin-700.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* set everything to open sans */
* {
  font-family: 'Open Sans', sans-serif;
}
/* ----------------------------- */
/* CSS Variables (matching marketing site) */
/* ----------------------------- */
:root {
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #3385d6;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-light: #6a6a6a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-light: #e5e7eb;
  --error-color: #ef4444;
}
/* ----------------------------- */
/* CSS Reset & Base Styles */
/* ----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ----------------------------- */
/* Typography Basics */
/* ----------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
p {
  margin: 0 0 16px 0;
}
/* ----------------------------- */
/* Links */
/* ----------------------------- */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
/* ----------------------------- */
/* Ensure full viewport height */
/* ----------------------------- */
html,
body,
#app-root {
  height: 100%;
}

/* ----------------------------- */
/* Auth Layout Foundation */
/* ----------------------------- */
.auth-container {
  /* structure */
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: row;
}
/* ----------------------------- */
/* Left side - Form area (fixed) */
/* ----------------------------- */
.form-section {
  /* structure */
  flex: 0 0 560px;
  min-width: 480px;
  display: flex;
  flex-direction: column;
  padding: 0 80px;
  overflow-y: auto;
  /* look and feel */
  background-color: var(--white);
}
.logo {
  /* structure */
  margin-top: 40px;
  margin-bottom: 40px;
}
.logo img {
  height: 35px;
  display: block;
}
.logo a {
  display: inline-block;
  transition: opacity 0.2s ease;
}
.logo a:hover {
  opacity: 0.8;
}
.form-content {
  /* structure */
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  max-width: 400px;
}
/* ----------------------------- */
/* Right side - Visual area (auto) */
/* ----------------------------- */
.visual-section {
  /* structure */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* look and feel - matching marketing site bg-light */
  background-color: var(--bg-light);
  /* Optional: Add a subtle gradient for more polish */
  background: linear-gradient(135deg, var(--bg-light) 0%, #e5e7eb 100%);
}
/* ----------------------------- */
/* Responsive Behavior */
/* ----------------------------- */
@media (max-width: 960px) {
  .auth-container {
    flex-direction: column;
  }
  .form-section {
    flex: 1;
    min-width: 0;
    padding: 30px;
  }
  .form-content {
    max-width: none;
    padding-top: 40px;
  }
  .logo {
    margin-bottom: 40px;
  }
  .visual-section {
    display: none;
  }
}
/* ----------------------------- */
/* Visual Placeholder */
/* ----------------------------- */
.visual-placeholder {
  /* structure */
  width: 100%;
  max-width: 500px;
  padding: 40px;
  text-align: center;
  /* look and feel */
  color: var(--text-light);
  font-size: 14px;
  border: 2px dashed var(--border-light);
  border-radius: 12px;
  background-color: var(--white);
}
.visual-placeholder p {
  margin: 0 0 8px 0;
}
.visual-placeholder p:last-child {
  margin-bottom: 0;
}

/* ============================= */
/* LOGIN VIEW (Parent) */
/* ============================= */
.login-view {
  /* structure */
  display: flex;
  flex-direction: column;
  width: 100%;
}
.login-header {
  /* structure */
  margin-bottom: 24px;
}
.login-header h1 {
  /* structure */
  margin-bottom: 8px;
  /* look and feel */
  color: var(--text-primary);
}
.login-header p {
  /* structure */
  margin: 0;
  /* look and feel */
  color: var(--text-secondary);
}
/* ============================= */
/* PROVIDER LOGINS COMPONENT */
/* ============================= */
.provider-logins {
  /* structure */
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.provider-button {
  /* structure */
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  /* look and feel */
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.provider-button:hover:not(:disabled) {
  background-color: var(--bg-light);
}
.provider-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.provider-icon {
  /* structure */
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  /* look and feel */
  object-fit: contain;
}
.provider-text {
  /* structure */
  flex: 1;
  text-align: center;
}
/* ============================= */
/* LOGIN SEPARATOR COMPONENT */
/* ============================= */
.login-separator {
  /* structure */
  display: flex;
  align-items: center;
  width: 100%;
  margin: 24px 0;
  /* look and feel - horizontal line */
}
.login-separator::before,
.login-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}
.login-separator-text {
  /* structure */
  padding: 0 16px;
  /* look and feel */
  font-size: 13px;
  color: var(--text-light);
  text-transform: lowercase;
}
/* ============================= */
/* FORM LOGIN COMPONENT */
/* ============================= */
.login-form {
  /* structure */
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* ----------------------------- */
/* Form Fields */
/* ----------------------------- */
.form-field {
  /* structure */
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-label {
  /* structure */
  display: block;
  margin-bottom: 6px;
  /* look and feel */
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.form-input {
  /* structure */
  width: 100%;
  padding: 10px 12px;
  /* look and feel */
  font-size: 14px;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background-color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.form-input::placeholder {
  color: var(--text-light);
}
.form-input:disabled {
  background-color: var(--bg-light);
  cursor: not-allowed;
  color: var(--text-light);
}
.form-input.error {
  border-color: var(--error-color);
}
.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
/* ----------------------------- */
/* Checkbox Field */
/* ----------------------------- */
.form-checkbox-field {
  /* structure */
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}
.form-checkbox {
  /* structure */
  margin: 0;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  /* look and feel */
  cursor: pointer;
  accent-color: var(--primary-color);
}
.form-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.form-checkbox-label {
  /* structure */
  margin: 0;
  /* look and feel */
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.form-checkbox-label.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
/* ----------------------------- */
/* Submit Button */
/* ----------------------------- */
.form-submit {
  /* structure */
  width: 100%;
  padding: 12px 24px;
  margin-top: 8px;
  /* look and feel */
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.form-submit:hover:not(:disabled) {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}
.form-submit:active:not(:disabled) {
  background-color: var(--primary-dark);
  transform: translateY(0);
  box-shadow: none;
}
.form-submit:disabled {
  background-color: var(--border-light);
  color: var(--text-light);
  cursor: not-allowed;
}
/* ============================= */
/* AUTHENTICATED VIEW */
/* ============================= */
.authenticated-view {
  /* structure */
  display: flex;
  flex-direction: column;
  width: 100%;
}
.authenticated-header {
  /* structure */
  margin-bottom: 32px;
}
.authenticated-header h1 {
  /* structure */
  margin-bottom: 8px;
  /* look and feel */
  color: var(--text-primary);
}
.authenticated-header p {
  /* structure */
  margin: 0;
  /* look and feel */
  color: var(--text-secondary);
}
/* ----------------------------- */
/* Dashboard Button */
/* ----------------------------- */
.dashboard-button {
  /* structure */
  width: 100%;
  padding: 12px 24px;
  margin-bottom: 16px;
  /* look and feel */
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dashboard-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}
.dashboard-button:active {
  background-color: var(--primary-dark);
  transform: translateY(0);
  box-shadow: none;
}
/* Secondary button style for Go to Dashboard (coming soon) */
.dashboard-button + .dashboard-button {
  /* look and feel */
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.dashboard-button + .dashboard-button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  box-shadow: none;
  transform: none;
}
.dashboard-button + .dashboard-button:active {
  background-color: var(--bg-light);
}
/* ----------------------------- */
/* Logout Section */
/* ----------------------------- */
.logout-section {
  /* structure */
  display: flex;
  justify-content: center;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
}
.logout-link {
  /* structure */
  padding: 8px 16px;
  /* look and feel */
  font-size: 14px;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.logout-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

