html {
    font-size: 14px;
    scroll-behavior: smooth !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.cp {
    cursor:pointer
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > label {
    transition: all 0.2s ease;
}

.copy-icon {
    cursor: pointer;
    margin-left: 10px;
}


/* Custom CSS for smooth toggle animation */
.form-switch .form-check-input {
    transition: all 0.3s ease-in-out;
}

    .form-switch .form-check-input:checked {
        background-color: #0072AF;
        border-color: #0072AF;
    }

    .form-switch .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.form-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-left: -1.5rem;
    margin-right: .5rem;
    background-size: 1.5rem 1.5rem;
    transition: all 0.3s ease-in-out;
}

.form-check {
    min-height: 2.5rem;
}

.form-switch .form-check-input::before {
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.form-switch .form-check-input:checked::before {
    transform: translateX(1.5rem);
}


.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 1rem !important;
}

textarea.select2-search__field {
    font-size: 1rem !important;
}

.select2-container .select2-selection--multiple {
    min-height: 58px !important;
}

/*custom swee alert*/
/*.swal2-html-container {
    margin: 0;
}
.swal2-popup {
    padding: 0;
}*/
.swal2-styled.swal2-confirm {
    background-color: #0072AF !important;
    border-color: #0072AF !important;
}

    .swal2-styled.swal2-confirm:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb
    }

textarea {
    min-height: 6rem !important;
}


/* Global Scrollbar Styling */

/* For Webkit Browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
    width: 5px; /* Width of the vertical scrollbar */
    height: 10px; /* Height of the horizontal scrollbar */
}

*::-webkit-scrollbar-thumb {
    background-color: #c1c1c1; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the scrollbar thumb */
    border: 2px solid transparent; /* Adds spacing around the thumb */
    background-clip: content-box; /* Ensures the transparent border is visible */
}

*::-webkit-scrollbar-track {
    background: transparent; /* Background color of the scrollbar track */
}

/* Optional: Add hover effect to scrollbar thumb */
*::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8; /* Slightly darker color on hover */
}

/* For Firefox */
* {
    scrollbar-width: thin; /* Makes scrollbar thinner */
    scrollbar-color: #c1c1c1 transparent; /* Sets thumb and track colors */
}


.custom-step-bar .step-indicator {
    position: relative;
    flex: 1;
    padding-bottom: 40px;
    width: 250px;
    text-align: center;
    font-size: 18px;
    color: #535353;
}

    .custom-step-bar .step-indicator.active {
        color: black;
        font-weight: 600;
        font-size: 21px;
    }

    .custom-step-bar .step-indicator.finish {
        font-weight: 600;
        color: #4F9B21;
    }

    .custom-step-bar .step-indicator::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -16px;
        transform: translateX(-50%);
        z-index: 9;
        width: 50px;
        height: 50px;
        background-color: #f0f2f5;
        border-radius: 50%;
        border: 3px solid #CAD2DE;
        color: #CAD2DE;
        padding-top: 3px;
        /* margin-top: 7px; */
        font-weight: 800;
        font-size: 25px;
    }

    .custom-step-bar .step-indicator.n1::before {
        content: "1";
    }

    .custom-step-bar .step-indicator.n2::before {
        content: "2";
    }

    .custom-step-bar .step-indicator.n3::before {
        content: "3";
    }
    .custom-step-bar .step-indicator.n4::before {
        content: "4";
    }
    .custom-step-bar .step-indicator.active::before {
        background-color: #0072AF;
        color: #fff;
        border: none;
        padding-top: 6px;
    }

    .custom-step-bar .step-indicator.finish::before {
        background-color: #4F9B21;
        color: #fff;
        border: none;
        font-family: "Font Awesome 5 Free";
        content: "\f00c";
        padding-top: 6px;
    }

    .custom-step-bar .step-indicator::after {
        content: "";
        position: absolute;
        left: 70%;
        bottom: 8px;
        width: 60%;
        height: 3px;
        background-color: #cad2de;
    }

    .custom-step-bar .step-indicator.active::after {
        background-color: #cad2de;
        color: #fff ;
    }

    .custom-step-bar .step-indicator.finish::after {
        background-color: #cad2de;
        color: #fff;
    }

    .custom-step-bar .step-indicator:last-child:after {
        display: none;
    }


.highlight {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
}

.hide-in-digital {
    display: none!important
}


.nav-link.active {
    font-weight: bold;
    color: #0072AF !important;
    border-bottom: 4px solid #0072AF
}
nav .nav-link {
    padding: 20px 20px !important
}
.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    color: #6c757d;
}

    .password-toggle-icon:hover {
        color: #007bff;
    }


footer {
    font-weight: 500;
    font-size: 0.9rem;
    color: #6c757d;
    background-color: #F0F2F5;
    box-shadow: -2px 0rem 1rem rgba(0, 0, 0, .15) !important;
    
}

    footer a {
        color: #6c757d !important;
        padding: 0 0.5rem;
        transition: color 0.2s ease-in-out;
        text-decoration: none !important
    }

        footer a:hover {
            color: #007bff!important;

        }

    footer .social-icons i {
        font-size: 1.2rem;
        color: #6c757d;
        transition: color 0.2s ease-in-out;
        text-decoration: none !important
    }

        footer .social-icons i:hover {
            color: #007bff;
            text-decoration: none!important
        }


.btn {
    padding: 8px 20px;
    border-radius: 20px;
}
.btn-lg {
    padding: 10px 30px
}
.btn-sm {
    padding: 0.25rem 0.5rem;
}

.b
.bg-primary {
    background-color: #0072AF !important;
}
.text-primary {
    --bs-text-opacity: 1;
    color: #0072AF !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: #0072AF !important;
}
.height-70v {
    height: 70vh;
}

.patient-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.patient-card {
    border-radius: 25px;
}
h1 {
    color: #0072AF ;
    font-size:26px
}
legend {
    color: #2b2b2b !important;
    font-size: 1.5rem;
}


.main-container {
    margin-bottom: 15rem;
    padding-top: 4rem;
}
@media (min-width: 576px) {
    .main-container {
        margin-top: 5rem;
        margin-bottom: 9rem;
        padding-top: 1rem;
    }
}

@media (min-width: 768px) {
   
}

@media (min-width: 992px) {
    
}

@media (min-width: 1200px) {
   
}

@media (min-width: 1400px) {
    
}


img {
    max-width:100%!important
}


.feedback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0072af;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.feedback-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1010;
    overflow: hidden;
    flex-direction: column;
}

.feedback-modal-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .feedback-modal-header h5 {
        margin: 0;
        font-weight: 600;
    }

.feedback-modal-body {
    padding: 20px;
}

.feedback-modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #dee2e6;
}

/* ========================================
   Notification System Styles
   ======================================== */

/* Notification container - fixed position */
#notification-container,
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
}

/* Notification header with queue badge and clear button */
.notification-header {
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.notification-header.show {
    animation: slideInRight 0.3s ease-out;
}

.notification-header.hide {
    opacity: 0;
    transform: translateX(120%);
}

/* Queue badge */
.notification-queue-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: auto; /* Push button to the right */
}

.notification-queue-badge i {
    font-size: 11px;
}

.queue-count {
    color: #17a2b8;
    font-weight: 700;
}

/* Clear all button */
.btn-clear-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #dc3545;
    background: transparent;
    border: 1px solid #dc3545;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-all:hover {
    background: #dc3545;
    color: white;
}

.btn-clear-all:active {
    transform: scale(0.95);
}

.btn-clear-all i {
    font-size: 11px;
}

/* Wrapper for notifications */
.notification-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Animation for header */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Individual notification toast */
.notification-toast {
    pointer-events: all;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 350px;
    max-width: 420px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-out;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast.hide {
    opacity: 0;
    transform: translateX(120%);
}

/* Notification icon */
.notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    background: #f8f9fa;
}

.notification-success .notification-icon {
    background: #d4edda;
    color: #28a745;
}

.notification-error .notification-icon {
    background: #f8d7da;
    color: #dc3545;
}

.notification-warning .notification-icon {
    background: #fff3cd;
    color: #ffc107;
}

.notification-info .notification-icon {
    background: #d1ecf1;
    color: #17a2b8;
}

/* Notification content */
.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-body {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.notification-actions {
    margin-top: 10px;
}

.notification-actions .btn {
    font-size: 12px;
    padding: 4px 12px;
}

/* Close button */
.notification-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.notification-close:active {
    background: #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
    #notification-container,
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-toast {
        min-width: auto;
        max-width: none;
    }
    
    .notification-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-clear-all {
        width: 100%;
        justify-content: center;
    }
}

.badge.minore {
    position: absolute;
    z-index: 1;
    bottom: -25px;
}

.cf-div {
    position: relative;
}