html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f3f2ef;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
}

body.login-page {
  background-color: #f3f2ef;
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* LinkedIn-Style Development Banner */
.dev-banner-linkedin {
  background-color: #d11124;
  color: white;
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  border-radius: 4px;
}

/* LinkedIn-Style Login Container */
.linkedin-login-container {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  max-width: 400px;
  margin: 0 auto;
}

/* LinkedIn-Style Login Box */
.linkedin-login-box {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 24px;
  width: 100%;
  margin-bottom: 16px;
}

/* LinkedIn Logo Section */
.linkedin-logo-section {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.linkedin-logo-section svg {
  color: #0a66c2;
}

/* LinkedIn Typography */
.linkedin-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.9);
  margin: 0 0 8px 0;
}

.linkedin-subtitle {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 24px 0;
}

/* LinkedIn Form Styles */
.linkedin-form {
  width: 100%;
}

.linkedin-form-group {
  margin-bottom: 16px;
}

.linkedin-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.42857;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 4px;
}

.linkedin-input {
  width: 100%;
  height: 52px;
  padding: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.33333;
  color: rgba(0, 0, 0, 0.9);
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  transition: all 0.167s cubic-bezier(0, 0, 0.2, 1);
}

.linkedin-input:hover {
  border-color: rgba(0, 0, 0, 0.9);
}

.linkedin-input:focus {
  outline: none;
  border-color: #0a66c2;
  border-width: 2px;
  padding: 11px;
  box-shadow: none;
}

.linkedin-input-error {
  border-color: #d11124;
}

.linkedin-input-error:focus {
  border-color: #d11124;
}

/* LinkedIn Primary Button */
.linkedin-btn-primary {
  width: 100%;
  height: 52px;
  background-color: #0a66c2;
  border: none;
  border-radius: 28px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: all 0.167s cubic-bezier(0, 0, 0.2, 1);
  margin-top: 8px;
  box-shadow: inset 0 0 0 1px transparent, inset 0 0 0 2px transparent, inset 0 0 0 1px transparent;
}

.linkedin-btn-primary:hover {
  background-color: #004182;
  box-shadow: inset 0 0 0 1px #004182, inset 0 0 0 2px #ffffff, inset 0 0 0 3px #004182;
}

.linkedin-btn-primary:active {
  background-color: #003668;
}

.linkedin-btn-primary:focus {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
}

/* LinkedIn Divider */
.linkedin-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

.linkedin-divider::before,
.linkedin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.15);
}

.linkedin-divider span {
  padding: 0 16px;
}

/* LinkedIn Footer Text */
.linkedin-footer-text {
  text-align: center;
  margin-top: 16px;
}

.linkedin-footer-text p {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* LinkedIn Alert Styles */
.linkedin-alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.42857;
  display: flex;
  align-items: center;
}

.linkedin-alert-error {
  background-color: #fef3f2;
  color: #a2161a;
  border: 1px solid #fecdca;
}

.linkedin-alert-success {
  background-color: #edf9f0;
  color: #055c28;
  border: 1px solid #c1efd0;
}

/* LinkedIn Test Users Card */
.linkedin-test-users {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  width: 100%;
  border: 2px solid #d11124;
}

.linkedin-test-header {
  font-size: 14px;
  font-weight: 600;
  color: #d11124;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.linkedin-test-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.linkedin-test-list li {
  padding: 12px;
  background-color: #f3f2ef;
  border-radius: 4px;
  margin-bottom: 8px;
  transition: background-color 0.167s cubic-bezier(0, 0, 0.2, 1);
}

.linkedin-test-list li:hover {
  background-color: #e8e6e1;
}

.linkedin-test-list li:last-child {
  margin-bottom: 0;
}

.linkedin-test-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 4px;
}

.linkedin-test-list span {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}

/* ============================================
   LinkedIn-Style Home Page Styles
   ============================================ */

/* Home Container */
.linkedin-home-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

/* Hero Section */
.linkedin-hero-section {
  text-align: center;
  margin-bottom: 32px;
}

.linkedin-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.linkedin-hero-icon svg {
  color: #0a66c2;
}

.linkedin-hero-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.9);
  margin: 0 0 12px 0;
}

.linkedin-hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42857;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Status Card */
.linkedin-status-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
}

.linkedin-status-icon {
  margin-right: 16px;
  flex-shrink: 0;
}

.linkedin-status-success .linkedin-status-icon svg {
  color: #057642;
}

.linkedin-status-info .linkedin-status-icon svg {
  color: #0a66c2;
}

.linkedin-status-content {
  flex: 1;
}

.linkedin-status-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.9);
  margin: 0 0 8px 0;
}

.linkedin-status-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Action Container */
.linkedin-action-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

/* Primary Link Button (Sign In) */
.linkedin-btn-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  background-color: #0a66c2;
  border: none;
  border-radius: 28px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.167s cubic-bezier(0, 0, 0.2, 1);
  box-shadow: inset 0 0 0 1px transparent;
}

.linkedin-btn-primary-link:hover {
  background-color: #004182;
  box-shadow: inset 0 0 0 1px #004182, inset 0 0 0 2px #ffffff, inset 0 0 0 3px #004182;
  color: #ffffff;
}

.linkedin-btn-primary-link:active {
  background-color: #003668;
}

/* Secondary Button (Sign Out) */
.linkedin-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  background-color: transparent;
  border: 1px solid #0a66c2;
  border-radius: 28px;
  color: #0a66c2;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: all 0.167s cubic-bezier(0, 0, 0.2, 1);
}

.linkedin-btn-secondary:hover {
  background-color: rgba(112, 181, 249, 0.15);
  border-color: #004182;
  color: #004182;
  box-shadow: inset 0 0 0 1px #004182;
}

.linkedin-btn-secondary:active {
  background-color: rgba(112, 181, 249, 0.25);
}

/* Info Card */
.linkedin-info-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 32px;
}

.linkedin-info-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.linkedin-info-header svg {
  color: #0a66c2;
}

.linkedin-info-header h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33333;
  color: rgba(0, 0, 0, 0.9);
  margin: 0;
}

.linkedin-info-body {
  padding: 8px 0;
}

.linkedin-endpoint-item {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.167s cubic-bezier(0, 0, 0.2, 1);
}

.linkedin-endpoint-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.linkedin-endpoint-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.9);
  margin-bottom: 8px;
  display: block;
}

.linkedin-endpoint-code {
  font-family: Monaco, "Courier New", monospace;
  font-size: 13px;
  color: #0a66c2;
  background-color: #f3f2ef;
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Footer Section */
.linkedin-footer-section {
  text-align: center;
  padding: 24px 0;
}

.linkedin-footer-section p {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 576px) {
  .linkedin-login-container {
    padding: 24px 12px;
  }

  .linkedin-login-box {
    padding: 20px;
  }

  .linkedin-title {
    font-size: 28px;
  }

  .linkedin-input,
  .linkedin-btn-primary {
    height: 48px;
  }

  .dev-banner-linkedin {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }

  .linkedin-home-container {
    padding: 24px 12px;
  }

  .linkedin-hero-title {
    font-size: 32px;
  }

  .linkedin-hero-subtitle {
    font-size: 16px;
  }

  .linkedin-status-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .linkedin-status-icon {
    margin-right: 0;
    margin-bottom: 12px;
  }

  .linkedin-endpoint-item {
    padding: 12px 16px;
  }

  .linkedin-endpoint-code {
    font-size: 11px;
    word-break: break-all;
  }
}

/* Remove navbar and footer for login page */
body.login-page header,
body.login-page footer {
  display: none;
}