@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800&display=swap");

html,
body {
    background: #f4f5f7;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    color: #444150;
    overflow-x: hidden;
}

nav {
    background: white;
    /* border-bottom: 1.39286px solid rgba(0, 0, 0, 0.09); */
    box-shadow: 0px 2px 10px #eeeeee;
}

nav .logo-customer {
    margin-left: 4rem;
}

@media (max-width: 575.98px) {
    nav .logo-customer {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.card {
    border: none;
    box-shadow: 0px 1.0584px 2.11681px rgba(0, 0, 0, 0.06),
        0px 1.0584px 3.17521px rgba(0, 0, 0, 0.1);
}

.card.choose-option {
    height: 560px;
    width: 570px;
}

.card.choose-branch {
    min-height: 760px;
    width: 570px;
}

.card.choose-category {
    min-height: 760px;
    max-width: 1500px;
}

.card.choose-doctor {
    min-height: 830px;
    max-width: 570px;
}

.card.choose-datetime {
    width: 576px;
    min-height: 597px;
}

.choose-datetime label {
    font-size: 0.75rem;
}

.card.personal-info {
    width: 700px;
}

.card.choose-payment {
    width: 570px;
}

.choose-payment .payment-logo {
    width: 100%;
}

.customer .payment-success,
.customer .reschedule,
.customer .appt-details {
    width: 570px;
}

@media screen and (max-width: 575.98px) {
    .card {
        width: 100% !important;
    }

    .choose-payment [class^="col-"] {
        padding: 0px;
    }
}

.choose-datetime .row > [class^="col-"] {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.customer .card-body {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.customer h3 {
    font-weight: 700;
    font-size: 2em;
}

.customer h4 {
    font-weight: 600;
    font-size: 1.8em;
}

.required {
    color: #cb444a;
}

.customer a.required {
    text-decoration: none;
    font-weight: 500;
}

.subtitle {
    font-weight: 400;
    color: #979797;
    margin-bottom: 3rem;
}

.customer button.btn.btn-back {
    background-color: #fff;
    color: #444150;
    display: inline-block;
    padding: 0.9rem;
    border: 1px solid #e3e6e8;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    transition: all 0.2s ease-in-out;
}

.customer button.btn.btn-back:hover {
    background-color: #cb444a;
    color: #fff;
}

.customer .customer-btn {
    background: white;
    border: 1px solid #d9d9d9;
    display: block;
    margin-bottom: 1.6rem;
    margin-top: 1.6rem;
    padding: 1.6rem 3rem;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.customer .choose-category .customer-btn {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-right: 0.2rem;
    margin-left: 0.2rem;
    padding: 1rem 3rem;
}

.customer .choose-doctor .customer-btn {
    padding: 1rem 1.6rem;
    border-radius: 12px;
}

.customer .appt-details .customer-btn {
    padding: 1rem 2rem;
    border-radius: 6px;
}

.customer label {
    font-weight: 500;
}

.rating label.form-check-label {
    display: block;
}

.customer input:not([type="radio"]),
.customer select {
    background-color: #fff;
    margin-top: 0.4rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.customer div:not(.appt-details) .customer-btn:hover {
    background: #fff5f5;
    border: 1px solid #cb444a;
}

.choose-doctor img,
.service-details img {
    border-radius: 12px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.order-summary img {
    border-radius: 12px;
    width: 90px;
    height: 90px;
    object-fit: contain;
}

@media screen and (max-width: 575.98px) {
    .choose-doctor img,
    .service-details img {
        border-radius: 12px;
        width: 80px;
        height: 80px;
        object-fit: cover;
    }
}

.doctor-details img {
    border-radius: 12px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.choose-doctor a {
    text-align: start;
}

.choose-doctor a h5,
.appt-details h5 {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.choose-doctor a .specialist,
.appt-details .specialist {
    font-weight: 500;
    font-size: 0.8rem;
    color: #979797;
    margin-bottom: 0.5rem;
}

.choose-doctor .rating-score {
    font-weight: 600;
    font-size: 0.8rem;
}

.choose-doctor .available {
    color: #4c7bd6;
    font-size: 0.8rem;
}

.choose-doctor .fa.fa-star.checked,
.doctor-details .fa.fa-star.checked {
    color: #f2c94c;
    opacity: 1;
}

.fa.fa-star {
    opacity: 0.3;
    color: #f2c94c;
    font-size: 0.8rem;
}

.boxed label {
    display: inline-block;
    padding: 0.6rem 0.3rem;
    border: solid 1px #ccc;
    border-radius: 6px;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

.boxed input[type="radio"] {
    display: none;
}

.boxed input[type="radio"]:checked + label {
    border: solid 1px #4c7bd6;
    color: #fff;
    background-color: #4c7bd6;
}

.boxed input[type="radio"]:disabled + label {
    background-color: #fff2f2;
}

.boxed label.disabled {
    background-color: #fff2f2;
}

.no-gutters.row,
.no-gutters.container,
.no-gutters.container-fluid {
    margin-left: 0;
    margin-right: 0;
}

.no-gutters > [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.admin div:not(.input-group) > button:not(.fc-button),
.admin table:not(.table) a.btn,
.admin div:not(.input-group) > a.btn:not(.btn-secondary) {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 500;
    background-color: #cb444a;
    color: white;
    border-radius: 4px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.customer div:not(.input-group) > button,
.customer [type="submit"] {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 500;
    background-color: #cb444a;
    color: white;
    border-radius: 4px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

.customer div:not(.input-group) button:hover {
    box-shadow: 0px 3px 12px rgba(65, 87, 255, 0.3);
    color: #fff;
}

.customer div.input-group > button {
    height: 100%;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    padding-right: 1rem;
    border: 1px solid #ced4da;
    border-left: 0px;
    margin-top: 6.4px;
    color: #444150;
    font-weight: 600;
    transition: 0.3s all ease-in-out;
    border-radius: 0px 6px 6px 0;
    background-color: #fff;
}

.customer div.input-group > button:hover {
    color: #cb444a;
    box-shadow: none;
}

.admin {
    min-height: 90vh;
}

.customer .reschedule div.input-group > button,
.admin div.input-group > button {
    height: 100%;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    padding-right: 2.2rem;
    padding-left: 2.2rem;
    border: 1px solid #ced4da;
    border-left: 0px;
    margin-top: 6.4px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s all ease-in-out;
    border-radius: 0px 6px 6px 0;
    background-color: #cb444a;
    font-size: 0.8rem;
}

.admin div.input-group > button {
    margin-top: 0px;
}

.customer .btn.btn-secondary,
.admin .btn.btn-secondary,
.admin a.btn.btn-secondary {
    border: 1px solid #cb444a;
    border-radius: 4px;
    color: #cb444a;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
    height: 100%;
}

.customer .btn.btn-secondary:hover,
.admin .btn.btn-secondary:hover {
    background-color: #cb444a;
    color: #fff;
}

.customer div.input-group > input {
    border-right: 0px;
}

.customer hr,
.admin hr {
    border-top: 1px dashed #ced4da;
}

.customer .billing-summary {
    padding: 1.6rem 1.6rem;
    background-color: #fff2f2;
    border: 1px solid #cb444a;
    border-radius: 12px;
}

.customer .selection-summary {
    padding: 1.6rem 1.6rem;
    background-color: #fbfbfb;
    border: 1px dashed #dfdfdf;
    border-radius: 12px;
}

.customer .billing-summary .price {
    text-align: end;
    font-weight: 600;
}

.customer input[type="checkbox"]:checked:before {
    background-color: #cb444a;
}

.customer .payment-type {
    background-color: #fff;
    border: 1px solid #ced4da;
    padding: 2rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    min-height: 160px;
}

.customer .not-allowed {
    font-size: 12px;
}

.customer .not-allowed::before {
    content: "*";
}

.customer .payment-type:hover {
    background-color: #fff2f2;
    border-color: #cb444a;
}

.customer .payment-type.disabled {
    opacity: 0.8;
}

.customer .payment-type.disabled:hover {
    background-color: #fff;
    border: 1px solid #ced4da;
}

.customer .order-summary {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
}

.customer .order-summary .order-details {
    font-weight: 500;
}

.appt-details img {
    border-radius: 8px;
}

.appt-details .btn.btn-outline-secondary,
.admin .btn.btn-outline-secondary {
    font-weight: 500;
    font-family: "Inter", sans-serif;
    color: #444150;
    border: 1px solid #d9d9d9;
}

.appt-details .btn.btn-outline-secondary:hover,
.admin .btn.btn-outline-secondary:hover {
    color: #fff;
    border-color: #cb444a;
    background-color: #cb444a;
}

.side-navbar {
    background-color: white;
    min-height: 100%;
    box-shadow: 3px 0px 12px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.side-navbar .profile-pic {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.header {
    box-shadow: none;
}

.side-navbar h5 {
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.side-navbar ul {
    list-style-type: none;
}

.side-navbar ul li {
    margin-bottom: 2rem;
}

.side-navbar ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #334d6e;
    transition: all 0.3s ease-in-out;
}

.side-navbar ul li a > i {
    opacity: 0.3;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
}

.side-navbar ul li:hover a,
.side-navbar ul li:hover a > i,
.side-navbar ul li > a + ul > li:hover a,
.side-navbar ul li > a + ul > li:hover a > i {
    color: #cb444a;
    opacity: 1;
}

.side-navbar ul li a.active {
    color: #cb444a !important;
}

.side-navbar ul li a.active > i {
    opacity: 1;
}

.side-navbar ul li > ul li {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    margin-left: 1.4rem;
}

.dashboard .card {
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.06);
}

.flex-container {
    display: flex;
    width: 100%;
}

.flex-child {
    width: 340px;
}

.flex-child:first {
    flex-grow: 0;
    flex-shrink: 0;
}

.flex-child:last-of-type {
    flex: 1 1 auto;
}

.dashboard .table img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard table td {
    vertical-align: middle;
}

.dashboard table > thead > tr > th {
    border-bottom: none;
}

.dashboard table thead tr th:nth-of-type(1),
.dashboard table tbody tr td:nth-of-type(1) {
    text-align: center;
}

.dashboard .table tbody > tr:last-of-type {
    border-bottom: 1px solid #fff;
}

.dashboard table tbody tr:nth-of-type(1) {
    font-weight: 600;
    background-color: #f7f7f7;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.admin input,
.admin select {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background-color: #fff;
}

.admin input:read-only {
    background-color: #fafafa;
    color: rgba(68, 65, 80, 0.7);
    border-color: #d9d9d9;
}

.admin label {
    font-weight: 600;
}

.admin div.input-group > button:disabled {
    opacity: 0.6;
}

.admin .payment-details {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 1rem 1.4rem;
}

.admin button.btn.btn-admin-secondary-outline,
.admin a.btn.btn-admin-secondary-outline {
    border: 1px solid #444150;
    color: #444150;
    background-color: #fff;
    font-weight: 600;
}

.admin button.btn.btn-admin-secondary-outline:hover,
.admin a.btn.btn-admin-secondary-outline:hover {
    background-color: #444150;
    color: #fff;
}

.admin .table-button .btn {
    display: inline !important;
    width: 8rem;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
}

.admin .table th {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-size: 12px;
}

.appt-details img:nth-of-type(1) {
    width: 100%;
    object-fit: cover;
}

/* .appt-details .order-summary .row:nth-of-type(2) .order-details{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.dashboard .chart-box {
    min-height: 420px !important;
}

.top-doctor {
    height: 100%;
}

.customer .book-now {
    background-color: #cb444a;
    color: #fff;
}

.customer #appt_date {
    padding-left: 1rem;
}

.admin .form-check .form-check-input {
    float: right;
    width: 40px;
    margin-right: 1.4rem;
    background-color: #f5b1b1 !important;
    border-color: #f5b1b1 !important;
    color: #ccc !important;
}

.admin .form-check .form-check-input:checked {
    background-color: #86e76a !important;
    border-color: #86e76a !important;
}

.rcorners {
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: auto;
    width: 600px;
}

/* table {table-layout:fixed}
td {overflow:hidden; white-space:nowrap; font-size: 12px;} */

input.form-control.datepicker {
    padding-left: 0.6rem;
}

.service-card {
    border: 1px solid #ced4da;
    border-radius: 10px;
}

a.btn.btn-collapse {
    display: inline-block;
    max-width: 30px;
    max-height: 30px;
}

.fc-toolbar-title {
    font-size: 14px !important;
}

.fc-button.fc-button-primary {
    background-color: #cb444a !important;
    opacity: 0.8 !important;
    border-color: #cb444a !important;
}

.fc-button.fc-button-primary.fc-button-active {
    opacity: 1 !important;
}

.rating {
}

.rating input {
    display: none;
}

.rating label {
    width: 48px;
    height: 48px;
    padding: 48px 0 0;
    margin-left: 0.6rem;
    margin-right: 0.6rem;
    overflow: hidden;
    background: url("/images/dev/stars.svg") no-repeat top left;
}

.rating:not(:hover) input:indeterminate + label,
.rating:not(:hover) input:checked ~ input + label,
.rating input:hover ~ input + label {
    background-position: -48px 0;
}

.rating:not(:hover) input:focus-visible + label {
    background-position: -96px 0;
}

/* ----- DEMO STUFF ----- */
