﻿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;
}


.login-pic {
    display: block;
    margin: 1px auto;
    border: 2px solid;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}


.profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid blue;
}


.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;
        }



.btn-primary {
    color: #fff !important;
    background: linear-gradient(57deg, #055160, #09a4b8) !important;
    border: 2px solid #0a58ca !important;
    height: 30px !important;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 26px; /* ভার্টিক্যাল সেন্টার (height - border = 30 - 4 = 26) */
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

    .btn-primary:hover {
        background: linear-gradient(57deg, #033d49, #078594) !important;
        border-color: #084298 !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        color: #fff !important;
    }


/*For headers color*/

.header_content {
    color: #03404c !important;
}

body {
    background-color: ghostwhite;
}

.edit_del {
    width: 150px;
}




/*For Table and header*/

.tab {
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

    .tab thead th {
        background-color: #90caf9;
    }

    .tab tbody tr {
        border-bottom: 1px solid gray;
    }

        .tab tbody tr:nth-child(even) {
            background-color: #bfdee0;
        }

        .tab tbody tr:nth-child(odd) {
            background-color: ghostwhite;
        }

        .tab tbody tr:hover {
            background: linear-gradient(57deg, #055160, #09a4b8) !important;
            color: white;
            transition: background-color 0.3s ease;
        }

    .tab td, .tab th {
        padding: 2px 10px;
    }

.src-header {
    height: 28px;
    border: 1px solid #055160;
}

.cntrl {
    padding: 5px;
}

    .cntrl:hover {
        color: #fff;
        padding: 5px;
    }


    /*For print*/


/*@media print {
    body {
        margin: 0 !important;
        padding: 0 !important;
    }

    .pr-area {
        width: 210mm;*/ /* A4 width */
        /*height: 297mm;*/ /* A4 height */
        /*margin: 0 auto;
        page-break-inside: avoid;
    }

    @page {
        size: A4;
        margin: 0;
    }
}*/