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;
}
/* ==========================================================
   Application Layout
========================================================== */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.application-shell {
    display: flex;
    min-height: 100vh;
}

/* ==========================================================
   Sidebar
========================================================== */

.sidebar-container {
    width: 160px;
    min-width: 160px;
    background: #1b5ea6;
    color: #fff;
}

/*==========================================================
    Sidebar
==========================================================*/

.sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #1F5DAA;
    color: white;
}

.sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.system-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar-menu li {
    width: 100%;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    padding: 14px 22px;
    transition: .2s;
    font-size: 14px;
}

.sidebar-menu a:hover {
    background: rgba(255,255,255,.15);
}

.sidebar-menu a.active {
    background: #2f84db;
    color: #fff;
    font-weight: bold;
}

.sidebar-menu i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.sidebar-footer {
border-top: 1px solid rgba(255,255,255,.2);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    padding: 16px 22px;
}

.sidebar-footer a:hover {
    background: rgba(255,255,255,.15);
}

/* ==========================================================
   Right Side
========================================================== */

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/*==========================================================
    Header
==========================================================*/

.page-header {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
    padding: 0 25px;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.page-title {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #2c3e50;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* ==========================================================
   Content
========================================================== */

.page-content {
    flex: 1;
    background: #f5f7fa;
    padding: 20px;
    overflow: auto;
}

/* ==========================================================
   Footer
========================================================== */

.app-footer {
    height: 42px;
    background: #ffffff;
    border-top: 1px solid #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

/*==========================================================
    Footer
==========================================================*/

.app-footer {
    height: 42px;
    background: #ffffff;
    border-top: 1px solid #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    font-size: 12px;
    color: #666666;
    text-align: center;
    white-space: nowrap;
}

