/* Core Medlin+ brand variables */
:root {
  --mp-blue: #2D697F;
  --mp-orange: #EC6931;
  --mp-light: #F5F5F5;
  --mp-dark: #1B1B1B;
  --mp-surface: #FFFFFF;
  --topbar-height: 56px;
  --sidebar-width: 260px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--mp-light);
  color: var(--mp-dark);
}

/* Layout */
#topbar {
  height: var(--topbar-height);
  background: var(--mp-blue);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 600;
}

.layout {
  display: flex;
  min-height: calc(100vh - var(--topbar-height));
}

#sidebar {
  width: var(--sidebar-width);
  background: #1f3f4e;
  color: #fff;
  padding: 1rem;
}

#content {
  flex: 1;
  padding: 1.5rem;
  background: var(--mp-light);
}

footer {
  background: var(--mp-surface);
  border-top: 1px solid #ddd;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  text-align: right;
}

/* Simple placeholder content */
.welcome {
  background: var(--mp-surface);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* LOGIN PAGE */
body.login-page {
    background: #F5F5F5;
    font-family: 'Roboto', sans-serif;
}

/* Centered card with fixed max width */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.login-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2D697F;
    margin-bottom: 6px;
}

/* Inputs */
.form-label {
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 4px;
}

.form-control {
    height: 46px;
    border-radius: 6px;
}

/* Buttons */
.btn-primary {
    background-color: #2D697F !important;
    border-color: #2D697F !important;
    padding: 12px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
}

/* Remember me */
.remember-label {
    font-size: 0.9rem;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer */
.brand-footer {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 20px;
    color: #777;
}