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;
}

.user-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    top: 100% !important;
    min-width: 180px;
}

.page-content-embedded {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}

.header-client-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.header-client-separator {
    opacity: 0.5;
    font-weight: 400;
}

.content-shell-card {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eef0f4;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.content-shell-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    background-color: #eaf8f5;
    color: #21aa92;
    font-size: 16px;
    font-weight: 600;
}

    .content-shell-header i {
        font-size: 22px;
    }

.content-shell-body {
    padding: 24px;
}

.btn-primary {
    background-color: #21aa92;
    border-color: #21aa92;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #1b927d;
        border-color: #1b927d;
    }

.btn-outline-primary {
    color: #21aa92;
    border-color: #21aa92;
}

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:active {
        color: #fff;
        background-color: #21aa92;
        border-color: #21aa92;
    }

.page-item.active .page-link {
    background-color: #21aa92;
    border-color: #21aa92;
}

.page-link {
    color: #21aa92;
}

    .page-link:hover {
        color: #1b927d;
    }

.e-grid .e-pager .e-currentitem,
.e-grid .e-pager .e-currentitem:hover,
.e-grid .e-pager .e-currentitem:focus {
    background-color: #21aa92 !important;
    border-color: #21aa92 !important;
    color: #fff !important;
}

.e-grid .e-pager .e-numericitem {
    color: #21aa92;
}

    .e-grid .e-pager .e-numericitem:hover {
        color: #1b927d;
        background-color: #eaf8f5;
    }

.e-grid .e-pager .e-prevpage,
.e-grid .e-pager .e-nextpage,
.e-grid .e-pager .e-firstpage,
.e-grid .e-pager .e-lastpage {
    color: #21aa92;
}

.e-grid .e-rowcell[aria-colindex="2"] {
    text-transform: uppercase;
}

/* Customer name */
#customersGrid .e-rowcell[aria-colindex="2"] {
    text-transform: uppercase;
}

/* Type */
#customersGrid .customer-type {
    text-transform: uppercase;
}

/* Status */
#customersGrid .customer-status {
    text-transform: uppercase;
}

/* Created */
#customersGrid .customer-created-date {
    text-transform: uppercase;
}

.customer-choice-card {
    border: 1px solid #dfe7e5;
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .customer-choice-card:hover {
        border-color: #21aa92;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
        transform: translateY(-1px);
    }

.customer-row-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9e2e0;
    border-radius: 4px;
    background: #fff;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .customer-row-action:hover {
        background-color: #eaf8f5;
        border-color: #21aa92;
        color: #21aa92;
    }

.customer-row-action-danger:hover {
    background-color: #fff1f2;
    border-color: #dc3545;
    color: #dc3545;
}

.customer-row-action-success:hover {
    background-color: #ecfdf5;
    border-color: #21aa92;
    color: #21aa92;
}

.customer-action-button {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d9e2e0;
    border-radius: 5px;
    background-color: #fff;
    color: #64748b;
    text-decoration: none;
    font-size: 19px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .customer-action-button:hover {
        background-color: #eaf8f5;
        border-color: #21aa92;
        color: #21aa92;
    }

.customer-action-button-danger:hover {
    background-color: #fff1f2;
    border-color: #dc3545;
    color: #dc3545;
}

.customer-action-button + .customer-action-button {
    margin-left: 10px;
}

.header-navigation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

@media (max-width: 991.98px) {
    .navbar-brand-box {
        width: auto;
        padding-right: 8px;
    }

    .header-client-name {
        margin-left: 0;
    }

    .header-client-separator {
        margin-right: 8px;
    }
}
.badge.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge.bg-primary {
    color: #ffffff !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #0b2e59 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.header-navigation-dropdown-toggle {
    width: auto;
    min-width: 0;
    padding-left: 0.125rem;
    padding-right: 0.5rem;
}

.header-navigation-link {
    display: inline-flex;
    align-items: center;
}

    .header-navigation-link i {
        margin-right: 0.375rem;
        font-size: 16px;
    }

.header-navigation-dropdown-toggle {
    width: auto;
    min-width: 0;
    padding-left: 0.125rem;
    padding-right: 0.5rem;
    display: inline-flex;
    align-items: center;
}

:root {
    --entity-person-icon-color: #15915d;
    --entity-company-icon-color: #3478e5;
}

/* ==========================================================
   Generic entity presentation
   ========================================================== */

.entity-name {
    text-transform: uppercase;
}

.entity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

    .entity-link:hover {
        color: inherit;
        text-decoration: underline;
    }

    .entity-link .bx {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        font-size: 1.05rem;
        line-height: 1;
    }

    .entity-link .bx-user {
        color: var(--entity-person-icon-color);
    }

    .entity-link .bx-buildings {
        color: var(--entity-company-icon-color);
    }

.entity-icon-person {
    color: var(--entity-person-icon-color);
}

.entity-icon-company {
    color: var(--entity-company-icon-color);
}