:root {
    --color-1: #2774b6; /* Lapis Lazuli */
    --color-2: #ebf5fc; /* Alice Blue */
}

body {
    font-family: "Work Sans", sans-serif;
    background-color: #f2f3f4;
}

label {
    font-weight: 400;
    font-size: 14px;
}

.custom-input,
.file-upload-text,
.custom-input-group {
    height: 45px;
    border-radius: 5px;
}

.custom-input::placeholder {
    font-size: 14px;
}

.custom-input,
.file-upload-text {
    font-size: 14px !important;
}

.form-control:focus {
    border-color: #ddd;
    box-shadow: none;
    outline: none;
}

.form-control {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

.custom-input-group {
    pointer-events: none;
}

input[type="text"][disabled],
input[type="text"][readonly],
textarea:disabled {
    background-color: #fff !important;
    font-size: 14px;
}

textarea {
    resize: none;
    font-size: 14px !important;
}

.file_button {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0px 5px 5px 0px;
    padding: 10px;
    height: 45px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}

.file-upload {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Style for scroll bar  */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #f8f4f1;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-1);
    border-radius: 0px;
}

::-webkit-scrollbar:horizontal {
    height: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb:horizontal {
    background: var(--color-1);
    border-radius: 50px;
}

::-webkit-scrollbar-track:horizontal {
    box-shadow: inset 0 0 5px #fff;
    border-radius: 50px;
}

/* Floating error styles */

.floating-error {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f44336;
    color: white;
    padding: 20px;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    line-height: 1.8em;
}

.floating-error.show {
    display: block;
}

.floating-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #4caf50;
    color: white;
    padding: 20px;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    line-height: 1.8em;
}

.floating-success.show {
    display: block;
}

/* Onboarding page nav styles */

.onboarding_nav {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding_nav img {
    height: 60px;
}

/* UAM styles */

.uam_hero {
    font-size: 24px;
    font-weight: 600;
    padding-top: 50px;
    padding-bottom: 20px;
}

.uam_1 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding-top: 20px;
}

.uam_2 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding-top: 10px;
    line-height: 1.8em;
}

.uam_3 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding-top: 20px;
}

.uam_span_1 {
    color: var(--color-1);
    cursor: pointer;
}

.uam_span_2 {
    color: var(--color-1);
    cursor: pointer;
}

.uam_button {
    background-color: var(--color-1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 14px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}

/* Link styles */

.link_span {
    color: var(--color-1);
    cursor: pointer;
}

a.link_a {
    color: var(--color-1);
    text-decoration: none;
}

/* Dashboard styles */

.dashboard_hero {
    font-size: 16px;
    font-weight: 600;
}

.dashboard_div_default {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.dashboard_div_default_p1 {
    font-size: 14px;
    line-height: 1.8em;
    padding-bottom: 10px;
}

.dashboard_div_button {
    background-color: var(--color-1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 14px;
    width: 120px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
}

/* Table search styles */
.table_options {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.search-input {
    width: 240px;
    margin-bottom: 0;
}

.table_options_button {
    background-color: var(--color-1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 11px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    margin-left: 10px;
}

/* Data display style */
.data_div_default {
    background-color: #fff;
    padding: 20px 20px 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    line-height: 2em;
    font-size: 14px;
}

.data_name,
.data_value {
    width: 50%;
}

.data_name_1 {
    font-weight: 600;
}

/* Table styles */

table th:first-child {
    border-radius: 10px 0 0 0px;
}

table th:last-child {
    border-radius: 0 10px 0px 0;
}

.table_bg {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.table_div {
    overflow-x: auto;
    border-radius: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    text-align: left;
    padding: 10px 20px 10px 20px;
    font-weight: 600;
}

td {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
}

.trc {
    background-color: #fff;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.tdc {
    font-size: 14px;
    line-height: 1.8em;
}

/* Pagination styles */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination a {
    color: var(--color-1);
    padding: 4px 14px;
    text-decoration: none;
    border: 1px solid var(--color-1);
    margin: 0 4px;
    border-radius: 5px;
    font-weight: 600;
}

.page-info {
    color: var(--color-1);
    padding: 4px 14px;
    text-decoration: none;
    border: 1px solid var(--color-1);
    margin: 0 4px;
    border-radius: 5px;
    font-weight: 600;
}

.pagination a:hover {
    background-color: var(--color-1);
    color: white;
}

.pagination .active {
    background-color: var(--color-1);
    color: white;
}

/* Table no data styles */

.div_no_data {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.div_no_data_p1 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Error display styles */

.system_error_div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.system_error_div_1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0px 20px 20px 20px;
}

.system_error_text {
    flex: 1;
    padding-right: 20px;
}

.system_error_image {
    flex-shrink: 0;
}

.system_error_image img {
    height: 120px;
}

.system_error_text_1 {
    font-size: 16px;
    font-weight: 800;
}

.system_error_text_2 {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.8em;
}

/* Photo management styles */

.photo_container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.photo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #f2f3f4;
    font-size: 20px;
    border-radius: 5px;
    margin-right: 20px;
    overflow: hidden;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

input[type="file"].photo_input,
input[type="file"].photo_input_1 {
    display: none;
}

.photo_button {
    background-color: #fff;
    border: 1px solid var(--color-1);
    border-radius: 5px;
    color: var(--color-1);
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.photo_button:hover {
    background-color: var(--color-2);
}

.photo_remove {
    background-color: #fff;
    border: 1px solid #f44336;
    border-radius: 5px;
    color: #f44336;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.photo_remove:hover {
    background-color: #fff4f4;
}

.photo_remove_1 {
    background-color: #fff;
    border: 1px solid #f44336;
    border-radius: 5px;
    color: #f44336;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.photo_remove_1:hover {
    background-color: #fff4f4;
}

@media screen and (max-width: 600px) {
    .data_div_default,
    .data_div_modal,
    .data_div_default_receipt {
        display: flex;
        flex-wrap: wrap;
        line-height: 1.2em;
    }

    .data_name,
    .data_value {
        width: 100%;
    }

    .data_value {
        margin-bottom: 15px;
    }

    .data_value:last-child {
        margin-bottom: 0px;
    }

    .table_options {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }

    .table_options_button {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .system_error_div,
    .system_error_div_1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .system_error_image {
        margin-bottom: 20px;
    }

    .system_error_text {
        padding-right: 0;
        margin-bottom: 0;
    }

    .system_error_image img {
        height: auto;
        max-width: 100%;
    }
}
