body {
    background: #f8f8f8;
    margin: 0;
    font-family: "Roboto", sans-serif;

}


.card {
    width: 900px;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -o-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -ms-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    padding: 110px 0;
    border: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 50%;
    object-fit: contain;
}

.card .login-section {
    padding: 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-section {
    padding: 2rem;
    margin-right: 50px;
    margin-left: 50px;
}

/* Custom styles for input fields */
/* .form-control {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ced4da;
    background-color: transparent;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
} */

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: none;
}

.form-control::placeholder {
    color: #ced4da;
}
/* 
input.form-control {
    width: 100%;
    display: block;
    border: none;
    border-bottom: 1px solid #999;
    font-family: Poppins;
    box-sizing: border-box;
}  */

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    /* margin-bottom: 25px !important; */
    overflow: hidden;
}

.input-group-text {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ced4da;
}

.btn-primary:hover {
    background: #4292dc;
}

.btn-primary:hover {
    background-color: #4292dc;
    transform: translateY(-2px);
}

.btn-primary:active {
    background-color: #4292dc;
    transform: translateY(0);
}

/* Remove default outline on focus */
.form-control:focus-visible {
    outline: none;
}

/* Remove animation on autofill */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* Remove arrow icon from number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=checkbox]:not(old) {
    display: inline-block;
    margin-right: 12px;
    margin-top: 6px;
    border: 1px solid #999;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    background: white;
    background-image: -moz-linear-gradient(white, white);
    background-image: -ms-linear-gradient(white, white);
    background-image: -o-linear-gradient(white, white);
    background-image: -webkit-linear-gradient(white, white);
    background-image: linear-gradient(white, white);
    vertical-align: bottom;
    align-items: center !important;
}

.label-agree-term {
    position: relative;
    top: 0%;
    transform: translateY(0);
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
}

input[type=checkbox]:not(old)+label {
    display: inline-block;
    line-height: 1.5em;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .card {
        flex-direction: column-reverse !important;
        justify-content: center;
        align-items: center;
        width: calc(100% - 30px);
        max-width: 100%;
    }

    .card img {
        width: 100% !important;
        order: 2;
        margin-bottom: 1rem;
    }

    .login-section {
        width: 100% !important;
        order: 1;
    }

    .loginimg {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
    }

    .patimg {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        order: 2;
    }
}


/* custom css */
.btn-primary {
    display: inline-block;
    background: #6dabe4;
    color: #fff;
    border-bottom: none;
    width: auto;
    padding: 8px 24px !important;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    margin-top: 25px;
    cursor: pointer;
    border: none;
    font-size: 1.2rem !important;
}

.btn-back {
    display: inline-block;
    background: #fff !important;
    color: #6dabe4 !important;
    border-bottom: none;
    width: auto;
    padding: 15px 39px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    margin-top: 25px;
    cursor: pointer;
    border: 1px solid #6dabe4 !important;
    font-size: 1.25rem !important;
}

.btn-back:hover {
    background: #6dabe4;
    color: #ffff;
    transform: translateY(-2px);

}


.font-3 {
    line-height: 1.66;
    margin: 0;
    padding-bottom: 24px !important;
    padding: 0;
    font-weight: bold;
    color: #222;
    font-size: 34px;
    padding-top: 24px;
}

.loginimg {
    width: 50%;
    display: flex;
    justify-content: center;
}

.heading {
    font-weight: bold;
    color: #164d91;
    font-size: 44px;
    /* top: 130px; */
    position: relative;
    z-index: 9999;
    text-align: center;
}

a.form-submit {
    color: white;
}




/* Patient Details  */

.patimg {
    width: 50%;
    display: flex;
    justify-content: center;

}


.btn-secondary {
    background-color: #174d92;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 25px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.btn-secondary:hover,
a.btn.btn-outline-primary.btn-sm:hover {
    background-color: #6dabe4;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    background-color: #4292dc;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary i {
    font-size: 1.25rem;
}

.container {
    width: 1200px;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -o-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    -ms-box-shadow: 0px 15px 16.83px 0.17px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    padding: 0px 0px !important;

}


@media screen and (max-width: 1200px) {
    .container {
        width: calc(100% - 30px);
        max-width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}



/* //View patiennt// */
body {
    font-family: 'Poppins', sans-serif;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 20px;
}

.dataTables_filter{
    margin-top: 1rem !important;
}

/* .table-responsive {
    margin-top: 30px;
} */

.table thead th {
    text-align: center;
    vertical-align: middle;
}

.table tbody td {
    text-align: center;
    vertical-align: middle;
}

.table tbody td a {
    text-decoration: none;
    color: #007bff;
}

.table tbody td a:hover {
    text-decoration: underline;
}

.table thead th,
.table tbody td {
    padding: 1rem;
    font-size: 1rem;
}

.table tbody tr {
    transition: background-color 0.3s;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
}

.twobtns .btn {
    margin: 0 10px;
}

.table-primary {
    background-color: #007bff;
    color: #fff;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: red !important
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-color-type: rgb(0, 0, 0);
    --bs-table-bg-type: rgb(255, 255, 255);
    /* color: white; */
}

@media (max-width: 768px) {

    .table thead th,
    .table tbody td {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
}

/* test css */



.body-bg {
    padding: 0px !important;
    background-image: url('/images/bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0 !important;
    height: 100vh;

}

.card-1 {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background-image: url('/images/card-02-02.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.card-title {
    color: #007bff;
}

.form-check-label {
    color: #6c757d;
}

/* .btn-primary {
background-color: #007bff;
border-color: #007bff;
} */
/* .btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
} */
#result {
    font-weight: bold;
}

@media (max-width: 576px) {
    .card {
        margin-bottom: 20px;
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@media (max-width: 280px),
(max-width: 768px) {

    body-bg {
        background-image: url('/images/bg-01.webp'), url('/images/med-01.webp');
    }

    .card-1 {
        background-image: url('/images/card-02.webp');
    }
}

.survey-card {
    font-size: 1.4rem;
    /* Increase font size for questions and answers */
    color: #333;
    /* Set text color */
    padding: 10px 20px;
    /* Add padding */
    border-radius: 10px;
    /* Add border radius */
    font-size: 62.5%;
    /* height: 110vh; */
    overflow: hidden;
}



.survey-card {
    /* background: #fff;
padding: 4rem;
max-width: 55rem;
margin: 10rem auto;
border-radius: 2rem;
box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, .3), -1rem 1rem 2rem rgba(0, 0, 0, .3); */


}

.survey-card__question {
    margin-bottom: 2.5rem;
    font-size: 62.5%;

}

.survey-card__input {
    margin-bottom: 2.5rem;
}

.survey-card__button {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    margin-bottom: 2rem;
    margin-top: 2rem;
    background: #212137;
    color: #fff;
}

/* h2 {
margin-bottom: 2rem;
font-size: 3rem;
} */
.buttons-d {
    display: flex;
    justify-content: center;
    justify-items: flex-end;
    gap: 6rem;
}

.inputGroup {
    background-color: #fff;
    display: block;
    margin: 10px 0;
    position: relative;
}

.inputGroup label {
    padding: 5px 15px;
    width: 100%;
    display: block;
    text-align: left;
    color: #3c454c;
    cursor: pointer;
    position: relative;
    z-index: 2;
    /* transition: color 0.1ms ease-in; */
    overflow: hidden;
    font-weight: 500;
    font-size: 1.2rem;

}

.inputGroup label:before {
    width: 100%;
    height: 10px;
    border-radius: 50%;
    content: '';
    background-color: #174d92;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale3d(1, 1, 1);
    /* transition: all 0.1ms cubic-bezier(0.4, 0, 0.2, 1); */
    opacity: 0;
    z-index: -1;
}

.inputGroup label:after {
    width: 32px;
    height: 32px;
    content: '';
    border: 2px solid #d1d7dc;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
    background-repeat: no-repeat;
    background-position: 2px 3px;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    /* transition: all 0.1ms ease-in; */
}

.inputGroup input:checked~label {
    color: #fff;
}

.inputGroup input:checked~label:before {
    transform: translate(-50%, -50%) scale3d(56, 56, 1);
    opacity: 1;
}

.inputGroup input:checked~label:after {
    background-color: #00b48d;
    border-color: #00b48d;
}

.inputGroup input {
    width: 32px;
    height: 32px;
    order: 1;
    z-index: 2;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    visibility: hidden;
}

.imageasset {
    display: flex;
    justify-content: center;
    align-items: center;
}

.float {
    /*
width: 100px;
height: 25px; */
    float: right;
}

/* CSS to beautify and animate the result */
.card {
    position: relative;
}

#result {
    font-size: 6rem;
    color: #007bff;
    border: 1px solid #cccccc;
    width: 6rem;
    height: 15rem;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: auto;
    background-color: #f3f3f3;
}

/* CSS for total points card */
.survey-card.step-9 {
    background-color: #f8f9fa;
    /* Light gray background */
    border-radius: 10px;
    /* Rounded corners */
    padding: 20px;
    /* Padding inside the card */
}

.survey-card.step-9 p {
    font-size: 1.2rem;
    /* Larger font size for total points */
    color: #333;
    /* Dark text color */
    font-weight: bold;
    /* Bold font weight */
}

.btn {
    padding: 10px 20px;
    /* Padding inside the button */
    border-radius: 5px;
    /* Rounded corners */
    color: #fff;
    /* White text color */
    border: none;
    /* No border */
    cursor: pointer;
    /* Pointer cursor on hover */
    transition: background-color 0.3s ease;
    /* Smooth transition for background color */
    font-size: 1.2rem;
}

button.btn.btn-primary.mt-3.previous-step.float-left {
    background-color: white !important;
    /* Red background color for previous button */
    color: black;
    border: 1px solid gainsboro;
}

button.btn.btn-primary.mt-3.previous-step.float-left:hover {
    background-color: gainsboro !important;
    /* Darker red on hover */
    color: black;
    border: 1px solid gainsboro;

}

.next-step-btn {
    background-color: #007bff !important;
    /* Blue background color for next button */
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.btn.next:hover {
    background-color: #0056b3 !important;
    /* Darker blue on hover */
}

.card-title {
    font-size: 1.5rem;
    /* Larger font size for card titles */
    color: #333;
    /* Dark text color */
    margin-bottom: 20px;
    /* Margin below the title */
}

.survey-card .form-check-input:invalid+.survey-card__label::before {
    content: "Please select an option";
    color: red;
    display: block;
    margin-bottom: 10px;
}



/* CSS for waist input label */
.theme-color {
    color: #174d92;
    font-weight: bold;
}

.green {

    background-color: #00b48d !important;
}


select#weight,
select#height {
    background-color: #f0f0f0;
    border-color: #ccc;
    border-radius: 5px;
    color: #333;
    padding: 10px;
}

.survey-card.step-9 {
    width: auto;
}


/* viewpatient  */

a.form-button,
button.btn.btn-primary {
    display: inline-block;
    background: #174d92;
    color: #fff;
    border-bottom: none;
    width: auto;
    padding: 15px 39px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 15px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    margin-top: 25px;
    cursor: pointer;
    text-decoration: none;
}

a.btn.btn-outline-primary.btn-sm {
    font-size: 1.25rem;
}

img.img-fluid.logo {
    padding: 0.5rem;
    height: 90px;
    margin: auto;
    display: flex;
}

.min-vh-90 {
    height: 88vh;
}

.name-label {
    margin-bottom: 10%;
}

/* .survey-card h2 {
    margin-bottom: 2.8rem;
} */

/* .step-1 {
    height: 108vh;
} */

label.form-label.survey-card__label.lbl {
    font-size: 1rem;
    position: relative;
    font-weight: bold;
    font-size: 1.3rem;
}

.text-danger {
    font-size: 15px; /* Set font size */
    text-align: center; /* Center align text */
    display: block; /* Ensure it takes up full width */
    margin-top: 5px; /* Add slight spacing */
}

.weight-status_label {
    position: relative;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    color: #222;
}

.height-status_label{
    position: relative;
    left: 0;
    top: 50%;
    -moz-transform: translateY(0%) !important;
    -o-transform: translateY(0%) !important;
    -ms-transform: translateY(0%) !important;
    color: #222;
    -webkit-transform: translateY(0%);
}

.select-height{
    position: relative;
    left: 0;
    top: 50%;
    transform: translateY(-50%) !important;
    transform: translateY(0%) !important;
    color: #222;
}



.step-9 .test{
    text-align: center;
    display: block;
    text-align: center;
    color: #007bff;
    font-size: 1.7rem;

}

.fnt-1{
    font-size: 1.3rem;
}

.ft1{
    transform: translateY(0%) !important;
}

.dataTables_length label{
    position: relative;
    left: 0;
    top: 0%;
    transform: translateY(0%) !important;
    color: #222;
}

#kt_datatable_filter label{
    transform: translateY(-34%) !important;
    position: relative !important;
}

.dataTables_wrapper .dataTables_filter input{
    margin-left: 0px !important;
}

.dataTables_length label select{
    background-position: left 1rem center !important;
    background-size: 1.5em 1.5em !important;
}
/*
.table>:not(caption)>*>*{
    background-color: red !important;
} */

.btn-icon-1{
    width: 5rem;
}

.display-inline{
    display: inline-block;
}

/* @media only screen and (max-width: 767px) {
    .survey-card h2{
        font-size: 1.4rem;
    }
  } */



img.img-fluid.logo{
    padding-top: 1rem;
}

#patientHistoryTable_filter label{
    position: absolute;
    left: 78%;
    top: 0%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    color: #222;
    transform: translateY(-39%) !important;
}


.psr{
    position: relative;
}

.pd{
    padding: 10px !important;
}
table#patientHistoryTable {
    padding: 15px;
}
