* {
    box-sizing: border-box;
    font-family: sans-serif;
    font-family: "Jost", sans-serif;
}

body {
    padding: 0;
    margin: 0;
    background: #f8f9fc;
}

label {
    color: #333;
}

input {
    width: 100%;
    border: solid 1px #cfcdcd;
    padding: 0.4rem 0.6rem;
    border-radius: 3px;
}

input:focus {
    outline: none;
    background: #f3f3f3;
}

input[type="password"] {
    font-family: sans-serif;
}

pre {
    margin: 0;
}

.textAlignCenter {
    text-align: center;
}

.wrapper {
    max-width: 1300px;
    margin: auto;
    padding: 0 1rem;
}

button,
input[type="submit"],
.update_event,
.client_update,
.client_submit,
.submit_btn,
.download-btn {
    /* background: #0b8325;
    color: #fff; */
    text-transform: uppercase;
    border: none;
    padding: 0.6rem 1rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    text-align: center;
    background-color: #f0f0f0;
}

button {
    border-radius: 3px;
}

.container,
.client-details-items .item-label {
    display: flex;
}

.event-list .list-labels,
.list-items-main .list-items {
    display: flex;
}

.event-list {
    border: solid 2px #e3e0eb;
    border-radius: 3px;
}

.event-list span {
    width: 25%;
    border-top: solid 2px #e3e0eb;
    padding: 0.8rem 1rem;
}

.event-list .list-labels span {
    border-top: none;
    font-weight: bold;
    background: #e9e9e9;
}

.list-items-main .list-items {
    font-size: 14px;
}

.list-items-main .list-items span {
    overflow: hidden;
}

.list-items-main .list-items .time-ago {
    font-size: small;
    color: #898989;
}

.client-events-items {
    overflow: auto;
}

.client-events-items .event-list {
    margin-top: 1rem;
    width: 100%;
    min-width: 600px;
}

.dashboard-body {
    flex-direction: column;
    gap: 1rem;
}

.client-details-items .item-label {
    flex-direction: column;
}

.client-details-items .item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-text-none {
    width: 100%;
    overflow: hidden;
}

.report-text-none,
.download-btn {
    display: none;
}

#report_diagnosic {
    font-weight: 500;
    margin: 0;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: #c9c9c9c4;
    z-index: 1;
    padding: 5rem 0;
}

.in-popup {
    background: #fff;
    padding: 2rem;
    border-radius: 3px;
    border: solid 1px #ebebeb;
    position: relative;
    min-width: 400px;
    /* margin: 5rem 0; */
}

.popup .close-btn {
    position: absolute;
    top: 0rem;
    right: 0.8rem;
    font-size: 1.4rem;
    cursor: pointer;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label span {
    display: block;
    font-size: small;
}

.dashboard-head {
    max-width: 500px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.search-bar {
    width: 100%;
    position: relative;
}

.search-bar form {
    width: 100%;
    display: flex;
    position: relative;
}

.search-bar input[type="search"] {
    margin: 0;
}

.search-bar button[type="submit"] {
    background: #fff;
    margin-left: -2px;
    border: solid 1px #cfcdcd;
    border-left: none;
    position: relative;
}

.search-bar i {
    font-size: 1.2rem;
}

.search-suggestions {
    position: absolute;
    width: 100%;
    background: #fff;
    max-height: 300px;
    overflow: auto;
    z-index: 1;
}

.search-suggestions .suggested-item {
    padding: 0.4rem 0.6rem;
    cursor: pointer;
}

.search-suggestions .suggested-item:hover {
    background: #ebebeb;
}

.add-new-client {
    margin-top: 0.5rem;
}

.item-label {
    background: #fff;
    padding: 2rem;
    border-radius: 3px;
    border: solid 1px #ebebeb;
}

.item-label .client-bio {
    columns: 2;
}

.client-bio {
    position: relative;
}

.client-btns {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.client-edit-btn,
.client-delete-btn {
    border: solid 1px #333;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
}

.item-label .label {
    font-weight: bold;
    display: inline-block;
    width: 100px;
}

.delete-client-popup .label,
.delete-event-popup .label {
    width: auto;
}

.delete-client-popup .in-popup,
.delete-event-popup .in-popup {
    max-width: 500px;
}

.delete-event-popup .label {
    padding: 0;
    border: none;
}

input.delete_client_submit,
input.delete_event_submit {
    border: solid 1px red;
    color: red;
    background: #ffeeee;
}

.form-field .form-error {
    color: red;
    margin-top: 0.2rem;
    display: none;
    padding: 0;
    border: navajowhite;
    width: auto;
}

.drept-stang {
    background: #ededed;
}

.drept-stang textarea, .drept-stang input {
    background: transparent;
}

.drept-stang.heading {
    justify-content: center;
    font-weight: bold;
}

.client-bio div {
    margin-bottom: 0.5rem;
}

.add-new-event,
.medical-report-popup {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.no-result {
    /* background-color: #fff; */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: dashed 0.5px #cfcdcd;
}

.no-result-inner span {
    color: rgba(41, 41, 41, 0.759);
}

.event-btns {
    display: flex;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.event-btns div {
    cursor: pointer;
}

.update_event,
.client_update,
#add_data {
    cursor: pointer;
    text-align: center;
    background-color: #f0f0f0;
}

.update_event,
.client_update {
    display: none;
}

/* .popup.event-popup, .add-new-event.popup-main {
    display: flex !important;
} */

.popup.event-popup input,
.popup.event-popup textarea {
    border: none !important;
    font-size: 16px;
}

.popup.event-popup input {
    text-align: center;
}

.popup.event-popup textarea {
    width: 100% !important;
    height: 50px;
}

.full-width .mr-item-label-items {
    width: 100% !important;
}

.popup.event-popup .in-popup {
    width: 1300px;
}

.popup.event-popup {
    overflow-y: scroll;
}

.medical-report-main .mr-items:nth-child(1) {
    border-top: solid 2px #000;
}

.medical-report-main .mr-items {
    display: flex;
    justify-content: space-between;
}

.medical-report-main .mr-items .mr-item-label {
    width: 30%;
    border-left: solid 2px #000;
    font-weight: 600;
}

.medical-report-main .mr-items .mr-item-value {
    width: 70%;
    justify-content: center;
}

.medical-report-main .mr-items .mr-item-value select {
    width: 328px;
    height: 33px;
    text-align: center;
    font-size: 16px;
    border: solid 1px #000;
}

.medical-report-main .mr-items .mr-item-label,
.medical-report-main .mr-items .mr-item-value {
    display: flex;
    align-items: center;
    border-bottom: solid 2px #000;
    border-right: solid 2px #000;
    padding: 0.2rem 0.3rem;
}

.mr-item-value-items {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.mr-item-value-item {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.3rem;
    overflow: auto;
}

@media (max-width: 1300px) {
    .mr-item-value-item {
        justify-content: unset;
    }
}

.mr-item-value-item table {
    border-collapse: collapse;
    margin: 1rem 0;
}

.mr-item-value-item table td {
    min-width: 60px;
    max-width: 70px;
    padding: 0.2rem;
    text-align: center;
}

.mr-item-value-item table tr:nth-child(1) td {
    font-weight: 600;
}

.mr-value-double-col {
    padding: 0 !important;
}

.border-right {
    border-right: solid 2px #000;
}

.border-right-none {
    border-right: none !important;
}

.full-width {
    width: 100% !important;
    justify-content: flex-start !important;
}

.mr-item-label-items .mr-item-label-item span:nth-child(2) {
    font-weight: 500;
}

.medical-report-main {
    margin-bottom: 1rem;
}

.medical-report-main input {
    padding: unset;
}

#medicalReport {
    letter-spacing: 1.5px;
    /* margin: 5rem 1rem; */
}

.medical-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.medical-report-header a {
    text-decoration: none;
    color: inherit;
}

.medical-report-header p {
    margin: 0;
}

.medical-report-header img {
    width: 250px;
    margin-left: 1.5rem;
}

.medical-report-header h3 {
    margin: 0.5rem 0;
}

@media (max-width: 900px) {
    .event-list span {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 500px) {
    .item-label {
        padding: 1rem;
    }

    .item-label .client-bio {
        columns: 1;
    }

    .phone-popup .in-popup {
        min-width: 95%;
        padding: 1rem;
    }

    .phone-popup .medical-report-main {
        overflow: auto;
    }

    .phone-popup .medical-report-inner,
    .phone-popup .medical-report-header {
        width: 700px;
    }

    .popup-header {
        overflow: auto;
    }
}
