/* Custom styles for the login page Body start*/
html {
    font-size: 13px;
}

body {
    /* background: url('https://placehold.co/1920x1080') no-repeat center center fixed; */
    background-color: #cccccc58;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Top Bar in Login Page Start*/
.top-bar {
    background: linear-gradient(to right, #007bff, #00c6ff); /* Bootstrap primary gradient */
}

.top-bar a {
    color: white;
    text-decoration: none;
}
/* Top Bar End */

/* Dashboard Insights Start */
.card-hover:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

.icon-bg {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 50%;
}
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #343a40, #1d2124);
}
.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1, #4b2c91);
}
.bg-gradient-indigo {
    background: linear-gradient(135deg, #6610f2, #520dc2);
}
.bg-gradient-orange {
    background: linear-gradient(135deg, #fd7e14, #d65a00);
}
/* Dashboard Insights End */

/* Global Style For Card Header Start */
.card-header {
    background: linear-gradient(to right, #007bff, #00c6ff)
}
/* Global Style For Card Header End */

/* Sidebar Style Start */
.sidebar {
    min-height: 100vh;
    background-color: #f8f9fa; /* Light gray Bootstrap color */
    font-size: 14px;
}

.nav-link.active {
    background-color: #0d6efd; /* Bootstrap primary */
    color: white !important;
    font-weight: 500;
    border-radius: 5px;
}

.accordion-body .nav-link:hover {
    font-weight: 500;
    background-color: #0080ff56; /* Light gray on hover */
    margin-left: 5px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.accordion-body .nav-link {
    font-size: 12px; /* Adjust for sidebar links */
    color: #333435;
}


.btn-close {
    font-size: 1rem;
}
/* Sidebar Style End */


/* Styles for the login page start*/
.login-form {
    background-color: rgba(255, 255, 255, 0.9);
}

.underline-input {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    transition: border-color 0.3s ease;
    padding-left: 0;
    padding-right: 0;
}

.underline-input:focus {
    border-bottom-color: #007bff; /* or any color you like */
    box-shadow: none;
}

/* Styles for the login page End*/

/* Treatment Page / New sale / chekout Component Styles Start*/
.medicine-input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    outline: none;
    transition: border-color 0.3s ease;
    padding-left: 0;
    padding-right: 0;
}
/* Treatment Page / New sale / chekout Component Styles end*/

/* Doctor Sections Styles Start */
.schedule-time{
    width: 105px;
}

.schedule-table th, .schedule-table td {
    vertical-align: middle;
    text-align: center;
  }
  .doctor-name {
    font-weight: bold;
  }
  .specialization {
    font-size: 0.875rem;
    color: #6c757d;
  }
  .action-btns .btn {
    margin: 0 2px;
  }
/* Doctor Section Styles End */

/* Footer Start */
.main-footer{
    margin-bottom: 0px;
}
/* Footer End */

/* Reports page button styles Start */
.report-button-mini {
    width: 150px;
    height: 150px;
    font-size: 14px; /* Icon size */
    transition: transform 0.2s ease;
    font-weight: 500;
}
.report-button-mini:hover {
    transform: scale(1.1);
}
/* Reports page button styles End*/


/* Background Image Responsive Code Start */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* fallback for mobile smoothness */
    }
}
/* Background Image Responsive Code End */

.position-fixed.bottom-0 {
    background-color: #f8f9fa; /* Light background */
    font-size: 13px;
    z-index: 1030; /* So it's above other content */
}

/* Dashboard theme overrides (match home page color palette) */
.dashboard-theme .navbar {
    background: linear-gradient(90deg, #007bff 0%, #00c6ff 100%);
    color: #ffffff;
}
.dashboard-theme .navbar .navbar-brand img { filter: brightness(0) invert(1); }
.dashboard-theme .navbar .dropdown-toggle strong,
.dashboard-theme .navbar a,
.dashboard-theme .navbar .nav-link {
    color: #fff !important;
}

.dashboard-theme .sidebar {
    background: linear-gradient(180deg,#ffffff,#f1fbff);
    border-right: 1px solid rgba(13,110,253,0.06);
}
.dashboard-theme .nav-link.active {
    background: linear-gradient(90deg,#007bff,#00c6ff);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,123,255,0.12);
}
.dashboard-theme .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg,#007bff,#00c6ff);
    color: #fff;
}

.dashboard-theme .card-header {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
}

.dashboard-theme .btn-outline-primary {
    color: #007bff;
    border-color: rgba(0,123,255,0.2);
}
.dashboard-theme .btn-outline-primary:hover {
    background: linear-gradient(90deg,#007bff,#00c6ff);
    color: #fff;
    border-color: transparent;
}
/* end dashboard-theme overrides */
.dashboard-theme main { padding-bottom: 120px; }



/* Booking widget: suppress duplicate native/bootstrap select arrow so only theme arrow shows */
.checkout-wrapper .form-select {
    /* Remove Bootstrap's background SVG arrow */
    background-image: none !important;
    /* Ensure native appearance is removed on WebKit/Firefox */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 1rem; /* keep some right padding for custom arrow */
}

/* If the theme places a custom arrow with ::after on a parent, keep it visible */
.checkout-wrapper .nice-select::after {
    display: inline-block;
}

/* Hide native dropdown arrow in IE/Edge */
.checkout-wrapper select::-ms-expand {
    display: none;
}

/* jQuery UI Datepicker fixes: ensure visible background, shadow, and above other elements */
#ui-datepicker-div.ui-datepicker,
.ui-datepicker {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 8px 24px rgba(13, 38, 76, 0.12) !important;
    z-index: 99999 !important;
    border-radius: 8px !important;
    width: auto !important ;
}

.ui-datepicker .ui-datepicker-header {
    background: transparent !important;
    border: 0 !important;
}

.ui-datepicker table {
    background: transparent !important;
}

.ui-datepicker .ui-state-default {
    background: transparent !important;
    border-radius: 6px !important;
}

/* Make sure the datepicker doesn't get clipped by overflowed containers */
#ui-datepicker-div { position: absolute !important; top: auto; left: auto; }

