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;
}

.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;
}

/* ── Login split-screen ──────────────────────────────────────────────────── */
.login-body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}
.login-container {
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    min-height: 600px;
}
.login-sidebar {
    background: linear-gradient(135deg, #198754, #0d4d31);
    width: 45%;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.login-sidebar::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.login-sidebar::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.login-form-area {
    width: 55%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.login-title {
    font-weight: 700;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.login-subtitle {
    color: #718096;
    margin-bottom: 35px;
    font-size: 1.05rem;
}
.form-control-modern {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f7fafc;
    color: #2d3748;
}
.form-control-modern:focus {
    border-color: #198754;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.1);
    outline: none;
}
.btn-modern {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(25, 135, 84, 0.2);
}
.brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}
.sidebar-content { z-index: 1; }

@media (max-width: 768px) {
    .login-body { padding: 0; background: white; }
    .login-container { flex-direction: column; height: 100vh; max-width: 100%; border-radius: 0; box-shadow: none; }
    .login-sidebar { width: 100%; padding: 40px 30px; border-radius: 0 0 30px 30px; flex: 0 0 auto; }
    .login-form-area { width: 100%; padding: 40px 30px; flex: 1 0 auto; justify-content: flex-start; }
    .login-sidebar p { display: none; }
    .login-sidebar .opacity-50 { display: none; }
}