html,
body {
    height: 100%;
    font-family: "Inter", sans-serif;
}
*,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
}

/***** GUEST *****/
.bg-checker-board::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}
/***** End GUEST *****/

/***** PROFILE *****/
.grid-profile {
    display: grid;
    grid-template-columns: 12rem auto;
    gap: 1.25rem;
}
.grid-profile .left-profile-container {
    border-right: 1px solid #e0e0e0;
    padding: 0.5rem 1rem 0.5rem 0;
}
.grid-profile .right-profile-container {
    padding: 1rem 1rem 0;
}
a.btn.btn-link.btn-profile {
    display: block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    -webkit-border-radius: 9999px;
    -moz-border-radius: 9999px;
    -ms-border-radius: 9999px;
    -o-border-radius: 9999px;
    color: #495057;
    background: transparent;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 15px;
}
a.btn.btn-link.btn-profile:hover {
    color: #2e3236;
    background: #2195f321;
    text-decoration: none;
}
a.btn.btn-link.btn-profile.active {
    color: #0c80df !important;
    background: #2195f353 !important;
    font-weight: 600;
}
.empty-border {
    border: 2px dashed #e0e0e0;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    -webkit-border-radius: 0.75rem;
    -moz-border-radius: 0.75rem;
    -ms-border-radius: 0.75rem;
    -o-border-radius: 0.75rem;
    margin-bottom: 0.5rem;
}
.empty-border p {
    margin: 0;
    font-size: 0.85rem;
    text-align: center;
    color: #6f767f;
}
.tutams-layout {
    display: grid;
    grid-template-columns: 28px auto;
    gap: 1.25rem;
}
.tutams-layout .tutams-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background-color: #e3e3e3;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
    margin-top: 2px;
}
/***** End PROFILE *****/

/***** Employee *****/
.grid-tutam-dynamic-form {
    display: grid;
    grid-template-columns: auto 34px;
    gap: 1rem;
}
/***** End Employee *****/

/***** Tracking *****/
.tracking-detail {
    padding: 3rem 0;
}

#tracking {
    margin-bottom: 1rem;
}

[class*="tracking-status-"] p {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

[class*="tracking-status-"] {
    padding: 1.6rem 0;
}

.tracking-status-intransit {
    background-color: #007bff;
}

.tracking-status-outfordelivery {
    background-color: #f0922c;
}

.tracking-status-deliveryoffice {
    background-color: #f7dc6f;
}

.tracking-status-delivered {
    background-color: #28a745;
}

.tracking-status-attemptfail {
    background-color: #b789c7;
}

.tracking-status-error,
.tracking-status-exception {
    background-color: #d63b26;
}

.tracking-status-expired {
    background-color: #616e7d;
}

.tracking-status-pending {
    background-color: #ccc;
}

.tracking-status-inforeceived {
    background-color: #214977;
}

p.tracking-name {
    margin: 4px 0 0;
    text-transform: unset !important;
    font-size: 0.875rem;
    color: #fdfeffbd;
    padding: 0 0.75rem;
}

.tracking-list {
    border: 1px solid #e5e5e5;
}

.tracking-item {
    border-left: 1px solid #e5e5e5;
    position: relative;
    padding: 2rem 1.5rem 0.5rem 2rem;
    font-size: 0.9rem;
    margin-left: 3rem;
    min-height: 5rem;
}

.tracking-item:last-child {
    padding-bottom: 4rem;
}

.tracking-item .tracking-date {
    margin-bottom: 0.5rem;
}

.tracking-item .tracking-date span {
    color: #7e7e7e;
    font-size: 85%;
    padding-left: 0.4rem;
}

.tracking-item .tracking-content {
    padding: 0.75rem 0.8rem;
    background-color: #f4f4f4;
    border-radius: 0.5rem;
}

.tracking-item .tracking-content span {
    display: block;
    color: #7e7e7e;
    font-size: 85%;
}

.tracking-item .tracking-icon {
    line-height: 2.6rem;
    position: absolute;
    left: -0.5rem;
    width: 1rem;
    height: 1rem;
    text-align: center;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
}

.tracking-item .tracking-icon.status-sponsored {
    background-color: #f68;
}

.tracking-item .tracking-icon.status-delivered {
    background-color: #4cbb87;
}

.tracking-item .tracking-icon.status-outfordelivery {
    background-color: #f5a551;
}

.tracking-item .tracking-icon.status-deliveryoffice {
    background-color: #f7dc6f;
}

.tracking-item .tracking-icon.status-attemptfail {
    background-color: #b789c7;
}

.tracking-item .tracking-icon.status-exception {
    background-color: #d26759;
}

.tracking-item .tracking-icon.status-inforeceived {
    background-color: #214977;
}

.tracking-item .tracking-icon.status-intransit {
    color: #e5e5e5;
    font-size: 0.6rem;
}

.tracking-content .profile-tracking {
    margin-right: 7px;
}

.tracking-content .profile-tracking figure {
    margin: 0;
    width: 1.5rem;
    height: 1.5rem;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f5f5f5;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.tracking-content .profile-tracking figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/***** End Tracking *****/

/***** INCOMING LETTER *****/
.badge-letter-status-edit {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
}
/***** End INCOMING LETTER *****/

/***** Dashboard *****/
.letter-report-filter select {
    padding-right: 3rem !important;
}
.distribution-chart-legend {
    /* columns-2 */
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    -ms-columns: 2;
    -o-columns: 2;
}
.distribution-chart-legend .legend-item {
    margin-bottom: 0.625rem;
    margin-right: 1rem;
    margin-left: 0;
}
/***** End Dashboard *****/

/***** Incoming Done *****/
.min-w-400 {
    min-width: 360px !important;
    max-width: 400px !important;
}
.dataTables_wrapper .dataTables_filter input {
    height: 38.5px !important;
    padding: 5px 10px;
}
.dataTables_wrapper .dataTables_filter select#progress_status {
    box-shadow: none;
    outline: none;
    height: 38.5px !important;
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: #0e0e0e !important;
}
/***** End Incoming Done *****/

/***** Inbox Request Letter *****/
.template-fill-wrapper {
    background-color: #f1f1f1;
    border-radius: 0.35rem;
    padding: 15px;
}
.template-fill-yth-wrapper {
    background-color: #f1f1f1;
    border-radius: 0.35rem;
    padding: 15px;
}
.template-fill-wrapper .input-group:last-child {
    margin-bottom: 0 !important;
}
td p img.provider-icon-img {
    height: 1.5rem;
    width: auto;
    border-radius: 0%;
    object-fit: cover;
    object-position: center;
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    -ms-border-radius: 0%;
    -o-border-radius: 0%;
}
/***** End Inbox Request Letter *****/

/***** Docs Preview *****/
.doc-frame-container {
    background: #ffffff;
    padding: 0.875rem;
    border-radius: 0.75rem;
    -webkit-border-radius: 0.75rem;
    -moz-border-radius: 0.75rem;
    -ms-border-radius: 0.75rem;
    -o-border-radius: 0.75rem;
    border: 1px solid #e9e9e9;
    box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.025);
}
.doc-frame-container iframe {
    width: 100%;
    border: none;
}
img.empty-docs-img {
    width: auto;
    height: 5rem;
    object-fit: cover;
    object-position: center;
}
/***** End Docs Preview *****/

/***** Footer Dashboard *****/
footer.footer .gap-2rem {
    gap: 2rem;
}
/***** End Footer Dashboard *****/

/***** Memo *****/
.memo-container {
    width: 100%;
    margin: 0 auto;
}
.memo-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e1e5eb;
}
.memo-label-cell {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e1e5eb;
}
.memo-content-cell {
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid #e1e5eb;
}
.memo-brand-cell {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e1e5eb;
    background-color: #f8fafc;
    color: #1a4b8c;
    border-right: 1px solid #e1e5eb;
}
.memo-brand-cell img {
    width: 100px;
    height: auto;
    object-fit: contain;
    object-position: center;
}
.memo-header {
    padding: 0.75rem 0.75rem;
}
.memo-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}
.memo-subtitle {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: #383838;
}
.memo-label-cell {
    background-color: #f8fafc;
    color: #1a4b8c;
    font-weight: 600;
    border-right: 1px solid #e1e5eb;
    font-size: 0.875rem;
}
.memo-content-cell {
    background-color: white;
}
.memo-text {
    color: #333;
    margin-bottom: 0;
}
.memo-text-greet {
    color: #333;
    margin-bottom: 0;
    text-align: right;
}
.highlight-text {
    color: #1a4b8c;
    font-weight: 500;
}
.italic-text {
    font-style: italic;
    color: #555;
}
.memo-signature {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: end;
}
.memo-signature-text {
    color: #1a4b8c;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: auto;
}
.memo-grid > div:nth-last-child(-n + 2) {
    border-bottom: none;
}
.memo-file-name {
    font-size: 14px;
    line-height: 1.25;
}
/***** End Memo *****/

@media screen and (max-width: 992px) {
    /***** PROFILE *****/
    .grid-profile {
        grid-template-columns: 10rem auto;
    }
    /***** End PROFILE *****/
}

@media screen and (max-width: 768px) {
    /***** INCOMING LETTER *****/
    .badge-letter-status-edit {
        padding-top: 0.25rem;
        justify-content: start;
        column-gap: 0.75rem;
    }
    /***** End INCOMING LETTER *****/
}

@media screen and (max-width: 576px) {
    /***** PROFILE *****/
    .grid-profile {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .grid-profile .left-profile-container {
        border-right: 0;
        padding: 0.75rem 0;
    }
    .grid-profile .right-profile-container {
        padding: 0.75rem 0.5rem;
    }
    a.btn.btn-link.btn-profile {
        padding: 0.25rem 0.75rem;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        margin-right: 0.25rem;
    }
    /***** End PROFILE *****/

    /***** Memo *****/
    .memo-label-cell {
        grid-column: 1 / -1;
        padding: 0.5rem 0.75rem;
        font-size: 13px;
        font-weight: 700;
        border-right: none;
    }
    .memo-content-cell,
    .memo-brand-cell {
        grid-column: 1 / -1;
    }
    .memo-brand-cell img {
        width: 64px;
    }
    .memo-text-greet {
        text-align: left;
    }
    .memo-signature {
        align-items: flex-start;
        justify-content: start;
    }
    .memo-signature-text {
        margin: 0;
    }
    .memo-grid > div:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e1e5eb;
    }
    .memo-file-name {
        font-size: 13px;
    }
    /***** End Memo *****/
}

@media screen and (max-width: 480px) {
    /***** Tracking *****/
    .tracking-item {
        padding: 1.5rem 1.125rem 0.5rem 2rem;
        margin-left: 2rem;
    }
    .tracking-item:last-child {
        padding-bottom: 2.5rem;
    }
    /***** End Tracking *****/

    /***** Inbox Request Letter *****/
    .template-fill-wrapper,
    .template-fill-yth-wrapper {
        padding: 10px;
    }
    /***** End Inbox Request Letter *****/
}

@media (min-width: 992px) {
    /***** Tracking *****/
    .tracking-item {
        margin-left: 10rem;
    }

    .tracking-item .tracking-date {
        position: absolute;
        left: -10rem;
        width: 7.5rem;
        text-align: right;
    }

    .tracking-item .tracking-date span {
        display: block;
    }

    .tracking-item .tracking-content {
        background-color: #f4f4f4;
    }
    /***** End Tracking *****/
}
