html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}


.profile-pic {
    display: block;
    margin: 1px auto;
    border: 2px solid;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.home-pic {
    display: block;
    height: 40px;
    width: 40px;
    border: 1px solid;
    border-radius: 50%;
}


.responsive-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Media queries for different screen sizes */
@media (min-width: 576px) { /* Mobile screens and above */
    .responsive-image {
        max-width: 400px; /* Adjust the maximum width as needed */
        margin: 0 auto; /* Center the image */
    }
}

@media (min-width: 992px) { /* Tablet screens and above */
    .responsive-image {
        max-width: 800px; /* Adjust the maximum width as needed */
        margin: 0 auto; /* Center the image */
    }
}

@media (min-width: 1200px) { /* Laptop screens and above */
    .responsive-image {
        max-width: 1500px; /* Adjust the maximum width as needed */
        max-height: 540px;
        margin: 0 auto; /* Center the image */
    }
}


.fpr-pic {
    max-width: 100%;
    max-height: 130px; /* Adjust as necessary */
    display: block;
    margin: 0 auto; /* Center the image */
}

/*For Medicine list numbering*/
.numbered-list {
    counter-reset: list-counter;
}
.numbered-list li {
        list-style: none; /* Remove default bullet points */
        counter-increment: list-counter;
        position: relative;
        padding-left: 1.5em; /* Add some padding for the number */
}
.numbered-list li::before {
            content: counter(list-counter) ". ";
            position: absolute;
            left: 0;
            font-weight: bold; /* Make the numbers bold */
}

/*Table text and link */

table tr th td{
    color:white;
}
.table-bordered{
    color:white;
}

.wh{
    color:white;
}

/*For Same color*/

.btn-primary { 
    color: #fff !important;
    background: linear-gradient(57deg, #4963d5, #040b67bd) !important;
    border-color: #0a58ca !important;
}

.btn-primary:hover {
        color: #fff;
        background: linear-gradient( 57deg,#0b06b996, #f20ac2) !important;
        border-color: #0a58ca;
    }

/*For headers color*/

.header_content {
    color: #fff !important;
}


.login-pic {
    display: block;
    margin: 1px auto;
    border: 2px solid;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}



.wave-text span {
    display: inline-block;
    animation: wave 1.5s infinite;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

    .wave-text span:nth-child(1) {
        animation-delay: 0s;
    }

    .wave-text span:nth-child(2) {
        animation-delay: 0.1s;
    }

    .wave-text span:nth-child(3) {
        animation-delay: 0.2s;
    }

    .wave-text span:nth-child(4) {
        animation-delay: 0.3s;
    }

@keyframes wave {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}



/* ── User Menu Dropdown (ums) ── */
.ums-dropdown {
    position: relative;
    display: inline-block;
}

.ums-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50px;
    transition: background 0.15s;
}

    .ums-toggle-btn:hover {
        background: rgba(0,0,0,0.06);
    }

.ums-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    object-fit: cover;
    display: block;
}

/* Panel */
.ums-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 224px;
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    z-index: 1050;
    animation: umsFadeIn 0.15s ease;
}

    .ums-panel.ums-open {
        display: block;
    }

@keyframes umsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.ums-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 12px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.ums-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ums-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2a;
}

.ums-role {
    font-size: 11px;
    color: #888780;
    margin-top: 2px;
}

/* Sections */
.ums-section {
    padding: 6px 0;
}

    .ums-section + .ums-section {
        border-top: 0.5px solid rgba(0,0,0,0.08);
    }

/* Items */
.ums-link, .ums-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 14px;
    color: #2c2c2a;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

    .ums-link:hover, .ums-btn:hover {
        background: #f1efe8;
    }

    .ums-link i, .ums-btn i {
        font-size: 16px;
        color: #5f5e5a;
        width: 18px;
    }

/* Logout */
.ums-btn--logout {
    color: #a32d2d;
}

    .ums-btn--logout:hover {
        background: #fcebeb;
    }

    .ums-btn--logout i {
        color: #a32d2d;
    }