/* Add this at the beginning of your CSS */
/* * {
    box-sizing: border-box;
} */


body.login-page {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #c4c9d4; /* same dark navy as sidebar */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Login Card */
.login-box {
    width: 380px;
    background: #111827; /* same as sidebar */
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Brand */
.login-brand {
    text-align: center;
    margin-bottom: 25px;
}

.login-brand h1 {
    color: white;
    margin: 0;
    font-size: 28px;
}

.login-brand p {
    color: #94a3b8;
    font-size: 13px;
}

.login-form {
    align-items: center;
    justify-content: center;
}

/* To ensure both have consistent box-sizing */
.input-group input,
.btn-primary {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

/* Inputs */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    outline: none;
    transition: 0.2s;
}

.input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* Button */
.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* Footer */
.login-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.error-box {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

img {
    margin: 2px;
}
.flex {
    display: flex;
}
.flex.justify-center {
    justify-content: center;
}

.flex.items-center{
    align-items: center;
}

/* ========================================
   LOGIN FOOTER
   ======================================== */
.footer {
  text-align: center;
  padding: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
  color: #ccc;
  font-size: 13px;
}

.footer-content {
  font-size: 13px;
    color: white;
  /* color: var(--gray-500); */
}

.footer-link {
  /* color: var(--primary); */
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  text-decoration: underline;
  /* color: var(--primary-dark); */
  color: #094d85;
}

.sems-sub    {
    font-size: 11px;
}