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;
}
/* =========================
   AMER CRM
   Main Layout
========================= */

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #f5f7fb;
}

.crm-layout {
    display: flex;
    min-height: 100vh;
}


/* Sidebar */

.crm-sidebar {
    width: 250px;
    background: #111827;
    color: white;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}


.crm-logo {
    height: 75px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}


.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}


.crm-logo strong {
    display: block;
    font-size: 18px;
}


.crm-logo small {
    color: #9ca3af;
}


/* Menu */

.crm-menu {
    padding: 15px 10px;
    flex: 1;
}


.crm-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: .2s;
}


    .crm-menu-item:hover {
        background: #1f2937;
        color: white;
    }


    .crm-menu-item span {
        font-size: 14px;
    }


.crm-menu-divider {
    height: 1px;
    background: rgba(255,255,255,.08);
    margin: 15px 10px;
}


.crm-sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #6b7280;
}


/* Main */

.crm-main {
    width: calc(100% - 250px);
    margin-right: 250px;
}


.crm-topbar {
    height: 75px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}


.crm-user {
    display: flex;
    align-items: center;
    gap: 10px;
}


.crm-user-avatar {
    width: 42px;
    height: 42px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.crm-user strong {
    display: block;
}


.crm-user small {
    display: block;
    color: #6b7280;
}


/* Content */

.crm-content {
    padding: 25px;
}


/* Mobile */

@media (max-width: 768px) {

    .crm-sidebar {
        transform: translateX(100%);
        transition: .3s;
    }

        .crm-sidebar.show {
            transform: translateX(0);
        }

    .crm-main {
        width: 100%;
        margin-right: 0;
    }

    .crm-content {
        padding: 15px;
    }
}