/* =============================================
   MEDBLUE - user.css
   All login + app styles consolidated here
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap');
@import url('./color.css');
@import url('./typography.css');
@import url('../assets/css/pixars-style.css?v=9999');

/* ======== Global Reset & Base =========*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
body #menu,
#menu #side-menu {
    font-family: 'Inter Tight';
    background: #fffefb;
}

.text-info,
.label-primary,
a {
    color: #244255;
}

.label-primary {
    border-color: #244255;
}
.bootstrap-select .dropdown-toggle {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 34px;
}
.dropdown.bootstrap-select.form-control.bs3 {
    display: flex;
    align-items: center;
    border: none;
    padding: 0px 8px;
    outline: none;
    border-radius: 36px;
}

.modal-header {
    /* background: linear-gradient(to right, #244255 0, #80b7da 37%, #80b7da 100%); */
    background-color: var(--bg-darker-blue);
}

.checkbox-success input[type='checkbox']:checked + label::before,
.checkbox-success input[type='radio']:checked + label::before {
    background-color: #0469a9;
    border-color: #0469a9;
}

.project_progress_slider_horizontal .ui-slider-handle {
    background-color: #0469a9;
}

#side-menu li .nav-second-level li.active a {
    background-color: #0469a9;
}

#side-menu li .nav-second-level li a {
    color: #0469a9;
}

#setup-menu-wrapper {
    background-color: #1e303c;
}

.fa.arrow:before {
    content: '\f105';
}

li a i.menu-icon {
    margin-right: 10px;
}

#side-menu li a {
    padding: 11px 16px 11px 16px;
}

.profile_image {
    display: flex;
    padding-bottom: 20px;
    align-items: flex-end;
}

.profile_image img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
    border: 1px dotted #aaa;
}

.profile_image input {
    border: 0;
}

/* ======== Navbar =========*/
.navbar-default {
    background: #1e303c;
    margin-bottom: 0px;
}

/* =============================================
   LOGIN PAGE STYLES
   ============================================= */

body.customers_login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hide old header on login page */
body.customers_login .login_header {
    display: none;
}
body.customers_login .authcontainer {
    width: 100%;
    max-width: 1920px;
    padding-left: clamp(10px, calc(-4px + 4.375vw), 80px);
    padding-right: clamp(10px, calc(-4px + 4.375vw), 80px);
}
body.customers_login .content-wrapper {
    width: 100%;
}
body.customers_login #wrapper {
    width: 100%;
}

body.customers_login #content {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 0px 20px;
}

/* ---- Login Card ---- */
body.customers_login .user-form {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    margin: auto;
    width: 100%;
    gap: 10px;
    height: calc(100vh - clamp(100px, calc(-8px + 8.333vw), 160px));
}

/* ---- Left Panel (form side) ---- */
body.customers_login .form-right {
    width: 100%;
    max-width: clamp(400px, calc(400px + (620 - 400) * ((100vw - 1080px) / (1920 - 1080))), 620px);
    flex-shrink: 0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--bg-gradient-offwhite);
    border: 1px solid var(--border-offwhite);
    position: relative;
    border-radius: 36px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Logo */
body.customers_login .login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

body.customers_login .login-logo img {
    height: 40px;
    width: auto;
}

/* Heading */
body.customers_login .panel_s {
    margin-bottom: 0px;
    width: 100%;
    box-shadow: none;
}

body.customers_login .panel-body {
    display: flex;
    padding: 0px;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 20px;
}
body.customers_login .text-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    text-align: center;
    gap: 24px;
    background: transparent;
}

body.customers_login h1.login-heading {
    font-size: var(--fluid-22-32);
    font-weight: 500;
    color: var(--text-black);
    text-transform: none !important;
    margin: 0px;
}

body.customers_login .login-subtext {
    font-size: var(--fluid-14-16);
    color: var(--text-black);
    line-height: var(--line-height-md);
    margin: 0px;
}
body.customers_login .forget-subtext {
    font-size: var(--fluid-14-16);
    color: var(--text-black);
    line-height: var(--line-height-md);
    margin: 0px;
    max-width: 320px;
}

/* Form inputs */
body.customers_login .form-group {
    margin: 0px;
}
body.customers_login .form-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.customers_login .form-control {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    font-weight: 500;
    border-radius: 40px;
    font-size: var(--fluid-14-14);
    color: var(--text-black);
    background: var(--bg-white);
    transition:
        box-shadow 0.2s,
        background 0.2s;
    outline: none;
    border: none;
}

body.customers_login .form-control:focus {
    background: var(--bg-white);
    box-shadow: none;
    border: none;
}

body.customers_login .form-control::placeholder {
    color: #868686;
}
body.customers_login .form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-white) inset;
    -webkit-text-fill-color: var(--text-black);
    transition: background-color 5000s ease-in-out;
}

body.customers_login .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-white) inset;
    -webkit-text-fill-color: var(--text-black);
}



.bootstrap-select .dropdown-toggle.bs-placeholder {
    color: #868686 !important;
    font-weight: 500;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    font-weight: 500;
}
body.customers_login .login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
}
body.customers_login .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    background-color: transparent;
}

body.customers_login .checkbox input[type='checkbox'] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: transparent !important;
    cursor: pointer;
}


body.customers_login .checkbox label {
    font-size: var(--fluid-12-12);
    font-weight: 500;
    color: var(--text-dark-blue);
    cursor: pointer;
    margin: 0;
}

body.customers_login #a_forgot {
    font-size: var(--fluid-12-12);
    color: var(--text-light-blue);
    text-decoration: none;
    font-weight: 500;
    line-height: var(--line-height-md);
    transition: color 0.2s;
}

body.customers_login #a_forgot:hover {
    color: #244255;
    text-decoration: underline;
}

/* Sign In button */
body.customers_login .btn-info.btn-block {
    width: 100%;
    height: 41px;
    background: var(--text-darker-blue);
    border: none;
    border-radius: 50px;
    font-size: var(--fluid-14-14);
    font-weight: 500;
    color: var(--text-white);
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    text-transform: capitalize;
}

body.customers_login .btn-info.btn-block:hover {
    background: var(--text-darker-blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(36, 66, 85, 0.3);
}

body.customers_login .btn-info.btn-block:active {
    transform: translateY(0);
    box-shadow: none;
}

/* OR divider */
body.customers_login .or {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0;
    font-size: var(--fluid-14-14);
    color: var(--text-medium-grey);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Social buttons */
body.customers_login .btn-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body.customers_login .btn-social {
    flex: 1;
    height: 40px;
    max-width: 154px;
    border: 1px solid var(--bg-darker-blue);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--fluid-14-14);
    font-weight: 500;
    color: var(--bg-darker-blue);
    background: transparent;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
    text-decoration: none;
}

body.customers_login .btn-social:hover {
    border-color: #244255;
    background: transparent;
    box-shadow: 0 2px 8px rgba(36, 66, 85, 0.08);
}

body.customers_login .btn-social svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Create account link */
body.customers_login .signup-row {
    text-align: center;
    font-size: var(--fluid-14-14);
    color: var(--text-dark-blue);
    font-weight: 500;
    margin: 0px;
}

body.customers_login .signup-row a,
body.customers_login .signup-row .btn-gray {
    color: var(--text-light-blue);
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-size: var(--fluid-14-14);
    cursor: pointer;
    transition: color 0.2s;
}

body.customers_login .signup-row a:hover {
    color: #244255;
    text-decoration: underline;
}

body.customers_login .btn-gray.btn-block {
    display: none; /* hidden, replaced by signup-row inline link */
}

/* Error message */
body.customers_login .invalid-feedback {
    display: block;
    font-size: var(--fluid-12-12);
    color: var(--text-red);
    margin-top: 4px;
    margin-bottom: 0;
    padding: 0;
    border-radius: 0; 
    line-height: 1.2; 
}

/* ---- Right Panel (image/info side) ---- */
body.customers_login .form-left {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 36px;
    background: transparent;
    width: 100%;
    max-width: 1124px;
}

body.customers_login .bbg {
    position: absolute;
    inset: 0;
    background-size:contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

body.customers_login.body_member .bbg {
    background-image: url(../assets/images/authentication/sign-in-bg.svg);
    background-size: contain;
    background-position: bottom right;
}

body.customers_login.body_doctor .bbg {
    background-image: url(../assets/images/authentication/sign-in-bg.svg);
    background-size: contain;
    background-position: bottom right;
}

body.customers_login.body_agent .bbg {
    background-image: url(../assets/images/authentication/sign-in-bg.svg);
    background-size: contain;
    background-position: bottom right;
}
body.customers_login.body_employer .bbg {
    background-image: url(../assets/images/authentication/sign-in-bg.svg);
    background-size: contain;
    background-position: bottom right;
}

body.customers_login.body_practice .bbg {
    background-image: url(../assets/images/authentication/sign-in-bg.svg);
    background-size: contain;
    background-position: bottom right;
}
body.customers_login.body_forget .bbg {
    background-image: url(../assets/images/authentication/forget-password-bg.svg);
    background-size: contain;
    background-position: bottom right;
}

body.customers_login.body_register .bbg {
    background-image: url(../assets/images/authentication/sign-up-bg.svg);
    background-size: contain;
    background-position: bottom right;
}
body.customers_login.body_reset .bbg {
    background-image: url(../assets/images/authentication/forget-password-bg.svg);
    background-size: contain;
    background-position: bottom right;
}

/* Info overlay on right panel */
body.customers_login .panel-info-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 32px 28px;
}

body.customers_login .panel-info-overlay .avatars {
    display: flex;
    gap: -6px;
    margin: 0px;
}

body.customers_login .panel-info-overlay .avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: -6px;
    object-fit: cover;
    image-rendering: auto;
}

body.customers_login .panel-info-overlay ul {
    list-style: none;
    padding: 0;
    margin: 14px 0px;
}

body.customers_login .panel-info-overlay ul li {
    font-size: var(--fluid-14-14);
    color: var(--text-black);
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

body.customers_login .overlay-footer {
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 20px;
    left: 0;
}

body.customers_login .copyright {
    font-size: var(--fluid-12-12);
    font-weight: 500;
    color: var(--text-black);
    margin: 0px;
}

/* member/agent desc text (legacy, hidden in new design) */
body.customers_login .member_desc,
body.customers_login .agent_desc {
    display: none !important;
}

/* ======== Responsive =========*/
@media only screen and (max-width: 787px) {
    body.customers_login .form-left {
        display: none;
    }

    body.customers_login .form-right {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    body.customers_login .register-row {
        flex-direction: column;
        gap: 0;
    }

    body.customers_login #content {
        padding: 12px;
        height: auto;
        min-height: 100vh;
    }

    body.customers_login h1.login-heading {
        font-size: var(--fluid-22-32);
        text-align: center;
    }
    body.customers_login .text-container {
        padding: 0;
    }
    body.customers_login .btn-social-row {
        flex-direction: column;
        align-items: stretch;
    }

    body.customers_login .btn-social {
        width: 100%;
        max-width: 100%;
        height: 40px !important;
        padding: 9px 20px;
    }
}

/* ======== Dashboard / App Styles =========*/
.top_stats_wrapper {
    border-radius: 8px;
    padding-top: 10px;
}

.rspace {
    height: 16px;
}

h1 {
    text-align: left;
    font-weight: bold;
}

.btn-info {
    background: #244255;
}

.btn-info:hover {
    background: #0469a9;
}

.btn-success {
    background: #0469a9;
}
/* =============================================
   REGISTER PAGE - two-column row & terms
   ============================================= */

body.customers_login .register-row {
    display: flex;
    gap: 8px;
}

body.customers_login .register-row .form-group {
    flex: 1;
}

body.customers_login .register-terms {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.customers_login .register-terms input[type='checkbox'] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--text-dark-blue);
    cursor: pointer;
}

body.customers_login .register-terms label {
    font-size: var(--fluid-12-12);
    color: var(--text-black);
    line-height: var(--line-height-lg);
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

body.customers_login .register-terms label a {
    color: var(--text-light-blue);
    text-decoration: none;
    font-weight: 500;
}

body.customers_login .register-terms label a:hover {
    text-decoration: underline;
}
.password-field{
    position: relative;
}

.password-field img{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}
ul.pagination {
    background: var(--bg-light-blue);
    padding: 5px;
    border-radius: 50px;
}
.paginate_button a {
  border: none !important;
  background: none !important;
}

li.paginate_button a{
  color: var(--text-darker-blue);
}
li.paginate_button.active a{
  background: var(--bg-darker-blue) !important;
  border-radius: 50px;
  font-size: var(--fluid-14-14) !important;
}
.my-doctors {
    overflow: visible; 
    padding: 0 !important; 
    position: relative; 
    border-radius: 20px;
    border: 1px solid var(--border-blue);
}
.my-doctors  h4{ 
    background-color: var(--bg-light-blue);
    padding: 12px 16px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid var(--border-blue);
    margin: 0;
    height: 47px;
    font-size: var(--fluid-14-16);
    font-weight: 500;
    color: var(--text-darker-blue);
}
.my-doctors .btn {
    border-radius: 50px !important;
    background-color: var(--bg-darker-blue)!important;
}
.my-doctors .panel_s  { 
    box-shadow: none !important; 
    margin: 0 !important; }
.my-doctors .panel-body { 
    border:none!important;
    background: transparent!important;
    padding: 0 16px !important;
}
.my-doctors .list_top{
    justify-content: end !important;
}
.my-doctors .search-box{
    display: flex;
    align-items: center;
    width: 50%;
    gap: 5px;
	border-bottom: 1px solid var(--border-blue);
}
.my-doctors .search-box label{
    display: block;
    margin-bottom: 5px;
    font-size: var(--fluid-14-14);
    font-weight: 500;
    color: var(--text-darker-blue);
    margin: 0;
}
.my-doctors .search-box .form-control{
    width: 100%;
    height: 38px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: var(--bg-white);
    font-size: var(--bg-14-14);
    color: var(--text-darker-blue);
}
.my-doctors .d_item {
  display: flex; 
  align-items: start; 
  gap: 16px; 
  padding: 16px 0px; 
  margin: 0;
  border-bottom: 1px solid var(--border-blue); 
  transition: background 0.15s;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.my-doctors .d-item:last-child { border-bottom: none; }

.my-doctors .profile_image {
   width: 140px; 
   height: 140px; 
   border-radius: 20px; 
   object-fit: contain;
   padding:0;
   flex-shrink: 0; 
   background:linear-gradient(141.49deg, rgba(82, 233, 210, 0.2) -14.3%, rgba(0, 175, 217, 0.2) 100%);

}
.my-doctors .d_item_cont {
   display: flex;
   align-items: flex-start;
   gap: 16px;
   flex: 1;
   min-width: 0;
}
.my-doctors .item_left {
    flex: 1;
    min-width: 0; 
}
.my-doctors .item_left > div { 
	padding: 2px 0; 
}
.my-doctors .rate i { 
	color: #F1B44C; 
	font-size: 14px; 
	margin-bottom: 4px;  
}
.my-doctors .rate .fa-star-o {
	color: #F1B44C; 
}

.my-doctors .item_left .name {
    font-size: var(--fluid-14-16); 
	font-weight: 500; 
	color: var(--text-darker-blue); 
	margin: 0 0 2px; 
	text-decoration: none; 
}
.my-doctors .item_left .specialty {
    font-size: var(--fluid-12-12); 
	color: var(--text-medium-grey); 
	margin-bottom: 6px;
	line-height: 1.2; 
	display: -webkit-box; 
	-webkit-line-clamp: 2; 
	-webkit-box-orient: 
	vertical; 
	overflow: hidden;
}
.my-doctors .item_left .doc_desc {
    font-size: var(--fluid-14-14); 
	color: var(--text-medium-grey); 
	line-height: 1.2; 
	display: -webkit-box; 
	-webkit-line-clamp: 2; 
	-webkit-box-orient: 
	vertical; 
	overflow: hidden;
}
.my-doctors .item_right {
    display: flex; 
	flex-direction: column; 
	align-items: flex-start; 
	gap: 8px; 
	width:40%;
	flex-shrink: 0;
}

.my-doctors .item_right .poffice{
	font-size: var(--fluid-14-14); 
	color: var(--text-medium-blue); 
	font-weight: 500; 
	display: flex; 
	align-items: center; 
	gap: 4px;
}

.my-doctors .item_right .location {
    font-size: var(--fluid-12-12); 
	color: var(--text-medium-grey); 
	display: flex; 
	align-items: center; 
	gap: 4px;
}
.my-doctors .item_right .phone a.phone {
    font-size: var(--fluid-12-12); 
	color: var(--text-medium-grey); 
	display: flex; 
	align-items: center; 
	gap: 4px;
}
.my-doctors .item_right .doc-actions {
    display: flex; 
	gap: 12px; 
	margin-top: 4px; 
}
.my-doctors .d_item_bottom {
    display: none;
}
.my-doctors .bt_book {
    background: var(--text-darker-blue); 
	color: var(--bg-white); 
	border: none; 
	border-radius: 18px; 
	padding: 7px 12px; 
	font-size: var(--fluid-12-12); 
	font-weight: 500; 
	cursor: pointer; 
	text-decoration: none; 
	white-space: nowrap;
}
.my-doctors .bt_book:hover {  
	opacity: 0.85; 
	color: var(--bg-white);  
}
.my-doctors .transaction_list{
    overflow-x: auto !important;
}
.my-doctors .member_card_container{
display: flex;
align-items: center;
justify-content: center;
}
.my-doctors .member_cards_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:16px;
    padding: 20px;
    background-color: var(--bg-light-blue);
    border-radius: 20px;
    margin-bottom: 16px;
}
.my-doctors .member_card{
    border-radius: 24px !important;
    margin: 0 !important;

}
.my-doctors .heading{
    font-size: var(--fluid-14-16);
    font-weight: 500;
    color: var(--text-darker-blue);

}
@media only screen and (max-width: 586px) {
    .my-doctors .search-box{
    width: 100%;
}
	 .my-doctors .d_item  { 
		 flex-wrap: wrap;
		}
    .my-doctors .d_item .item_right { min-width: 100%; align-items: flex-start; margin-top: 8px; }
    .my-doctors .mpayment{
     width:246px !important;
}

}
@media only screen and (max-width: 470px){
.fc-left, .fc-right{
        float: none !important;
        justify-self: center !important;
        padding: 5px !important;
    
}
.fc .fc-toolbar>*>*{
    float:none ;
}
}
