﻿@import url('fontawesome.css');
@import url('icomoon.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');

body {
    margin: 0;
    font-family: "Lato", sans-serif;
}

.login__field {
    position: relative;
}

.login__icon {
    position: absolute;
    top: 15px;
    left: 10px;
    color: #7875B5;
}

li {
    list-style: none;
}

.button__icon {
    font-size: 24px;
    margin-left: auto;
    color: #7875B5;
}

.headertext {
    color: #163a57;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-top: 10px;
    margin-bottom: 28px;
}

.logo1 {
    background: url('../images/logo.png') no-repeat center center;
    width: 190px;
    height: 120px;
    background-size: contain;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.bdm-brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

.login-cont {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    width: 560px;
    margin: 110px auto 60px;
    padding: 0;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(15, 35, 55, 0.16);
    overflow: hidden;
    border: 1px solid rgba(28, 92, 140, 0.12);
}

    .login-cont p {
        font-size: 12px;
        color: #323234;
    }

.login-box {
    padding: 44px 46px 40px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.95) 100%),
        radial-gradient(circle at top right, rgba(34, 146, 97, 0.08), transparent 35%);
}

    .login-box .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .login-box .label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 5px;
        color: #323234;
        text-align: left;
    }

    .login-box .textfield {
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 10px;
        padding: 10px 10px;
        border-radius: 15px;
        border: none;
        box-shadow: 0px 1px 1px #5C5696;
        background: none;
        padding: 10px;
        padding-left: 35px;
        transition: .2s;
    }

.button-holder {
    display: flex;
    justify-content: center;
}

.navbar-inverse {
    background-color: #2073b0;
    border-color: #2073b0;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #ddd;
    }

.nav > li > a > img {
    max-width: 26px;
}

.navbar .dropdown-menu {
    min-width: 250px !important;
}

.dropdown-menu > li > a {
    padding: 5px 20px !important;
}

    .dropdown-menu > li > a > .badge {
        float: right;
        margin-top: 4px;
    }

.blackBar {
    background: #323234;
    display: flex;
    /*padding: 8px 0;
    margin-top: 7px;*/
    color: #ddd;
}

    .blackBar .navbar-nav > li > a {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .blackBar .navbar-nav > li > form {
        padding-top: 9px;
        padding-bottom: 9px;
    }

/*    .blackBar div {
        display: inline-block;
    }

        .blackBar div a {
            color: #ddd;
        }

        .blackBar div input {
            color: #323234;
        }*/
/*.dropdown-menu li {
    
}
.dropdown-menu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}*/

.main {
    width: 100%;
}

.bdm-shell {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding-top: 56px;
}

.sidebar {
    margin: 0;
    padding: 0;
    width: 22%;
    background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid #d7e0ea;
    flex: 0 0 22%;
}

    .sidebar a {
        display: block;
        color: #163a57;
        padding: 14px 16px;
        text-decoration: none;
        margin: 0 12px 12px;
        border-radius: 14px;
        background: #fff;
        border: 1px solid #dbe4ec;
        box-shadow: 0 8px 18px rgba(18, 36, 54, 0.05);
        font-weight: 600;
    }

        .sidebar a.activeD {
            background: linear-gradient(135deg, #118a59 0%, #1ba46b 100%);
            color: white;
        }

        .sidebar a:hover:not(.activeD) {
            background: #edf8f3;
            color: #124b34;
            transform: translateX(1px);
        }

        .sidebar a:hover.activeD {
            background: linear-gradient(135deg, #118a59 0%, #1ba46b 100%);
            color: white;
        }

div.content {
    padding: 5px 16px;
    margin-top: 0;
    width: 78%; /* Adjust based on sidebar width */
    margin-left: 0;
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 1024px) {
    div.content {
        width: auto;
        margin-left: 0;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .bdm-shell {
        display: block;
    }

    div.content {
        margin-left: 0; /* Stack content on small screens */
        width: 100%;
        margin-top: 0;
    }

    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        flex: none;
        border-right: none;
    }
}

.accordion {
    background: linear-gradient(135deg, #0f9d6a 0%, #16b67a 100%);
    color: #fff;
    cursor: pointer;
    padding: 16px 42px 16px 18px;
    width: calc(100% - 24px);
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin: 0 12px 12px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 8px 18px rgba(18, 36, 54, 0.08);
    position: relative;
    box-sizing: border-box;
}

    .activeD, .accordion:hover {
        filter: brightness(0.98);
    }

    .accordion:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        line-height: 1;
    }

.activeD:after {
    content: "\2212";
}

.textarea_costume {
    padding: 2px;
    /*width: 745px;*/
    height: 200px;
    border: solid 1px #e0e0eb;
    overflow: scroll;
    overflow-y: scroll;
    overflow-x: hidden;
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    resize: both;
}

.Tabupperbtn {
    background: #eee;
    /* font-size: 15px; */
    margin-top: 10px;
    padding: 6px 55px;
    /* border-radius: 26px; */
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    margin-right: 10px;
    align-items: center;
    /* width: 9%; */
    color: #4C489D;
    /* box-shadow: 0px 4px 4px #5C5696; */
    cursor: pointer;
    transition: .3s;
}

.appoinmenttaBtn {
    background: #337ab7;
    /* font-size: 15px; */
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 5px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    /* display: flex; */
    margin-right: 10px;
    align-items: center;
    /* width: 9%; */
    color: #fff;
    /* box-shadow: 0px 4px 4px #5C5696; */
    cursor: pointer;
    transition: .3s;
    /* background-image: linear-gradient(to top, #99ff99 0%, #fed6e3 100%); */
    font-size: 11px;
}

.AppointmentTabBTN {
    background: #fff;
    /*font-size: 15px;*/
    margin-top: 10px;
    padding: 1px 16px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: bold;
    /*display: flex;*/
    margin-right: 10px;
    align-items: center;
    width: 9%;
    color: #4C489D;
    box-shadow: 0px 4px 4px #5C5696;
    cursor: pointer;
    transition: .3s;
    background-image: linear-gradient(to top, #99ff99 0%, #fed6e3 100%);
    font-size: 8px;
}

.deleteBtn {
    background: #f2f2f2;
    margin-top: 10px;
    padding: 4px 16px;
    border-radius: 26px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 10px;
    align-items: center;
    width: 9%;
    color: #4C489D;
    box-shadow: 0px 4px 4px #5C5696;
    cursor: pointer;
    transition: .3s;
    background-image: linear-gradient(to top, #ff3300 0%, #fed6e3 100%);
    font-size: 11px;
}

.invoiceBtn {
    background: #337ab7;
    /* font-size: 15px; */
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 5px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    /* display: flex; */
    margin-right: 10px;
    align-items: center;
    /* width: 9%; */
    color: #fff;
    /* box-shadow: 0px 4px 4px #5C5696; */
    cursor: pointer;
    transition: .3s;
    /* background-image: linear-gradient(to top, #99ff99 0%, #fed6e3 100%); */
    font-size: 11px;
}

.bdm-sidebar-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin: 0 12px 12px;
    border: 1px solid #dbe4ec;
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 22px rgba(17, 39, 60, 0.04);
}

.panel1 {
    padding: 0 18px;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.step15 {
    /*padding-top: 40px;*/
    padding: 20px 18px;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.step1 {
    /*padding-top: 40px;*/
    padding: 20px 18px;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.formBoxHolder {
    display: flex;
}

.step1 ul {
    width: 50%;
    float: left;
    margin-right: 4%;
    margin-bottom: 0px !important
}

    .step1 ul li {
        margin-bottom: 10px;
        margin-top: 10px;
        list-style: none;
    }

        .step1 ul li.half {
            width: 49%;
            margin-right: 2%;
            display: inline-block;
            float: left;
        }

        .step1 ul li.sixty {
            width: 60%;
            margin-right: 2%;
            display: inline-block;
            float: left;
        }

        .step1 ul li.forty {
            width: 38%;
            display: inline-block;
            float: left;
        }

        .step1 ul li.break {
            border-top: 1px #ddd solid;
            padding: 25px 0 0;
            margin: 10px 0 0;
            float: left;
            width: 100%;
        }

        .step1 ul li a {
            font-weight: 700;
            font-size: 12px;
            line-height: 24px;
            letter-spacing: 0.2px;
            /* dark skyblue */
            color: #fff;
            text-decoration: none;
            /*float:right;*/
        }

.label {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1px;
    color: #222;
    text-transform: capitalize;
    padding-left: 5px;
}

.datefield {
    border-radius: 0px;
    width: 100%;
    padding: 10px 3%;
    color: #323234;
    border: 1px #e2e2e2 solid;
    font-size: 14px;
    background: url(../images/date.png) no-repeat 97%;
}

    .datefield:focus {
        border: 1px #4b89e2 solid;
    }

    .datefield:visited {
        color: #323234;
    }

.textfield {
    border-radius: 0px;
    width: 100%;
    padding: 10px 3%;
    border: 1px #e2e2e2 solid;
    font-size: 16px;
    color: #222222;
    font-weight: 300;
}

    .textfield:focus {
        border: 1px #4b89e2 solid;
    }

    .textfield:visited {
        color: #323234;
    }

.footer {
    /*background: #AEA6B9;*/
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 20px 50px;
    float: left;
    width: 100%;
    margin-top: 40px;
    border-top: 2px #ddd solid;
}

.wf-container-footer {
    display: flex;
    justify-content: space-between;
}

.btnGroup {
    display: flex;
    justify-content: flex-start;
    padding: 20px 0px;
}

.paymentBtn {
    /*background: #4B89E2;
    border-radius: 44px;
    padding: 8px 29px;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    border: 0;
    cursor: pointer;
    text-align: center;*/
    /* width: 30%;*/
    /*color: #fff;*/


    background: #337ab7;
    /* font-size: 15px; */
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 5px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    /* display: flex; */
    margin-right: 10px;
    align-items: center;
    /* width: 9%; */
    color: #fff;
    /* box-shadow: 0px 4px 4px #5C5696; */
    cursor: pointer;
    transition: .3s;
    /* background-image: linear-gradient(to top, #99ff99 0%, #fed6e3 100%); */
    font-size: 11px;
}


.btn-warning {
    color: #fff;
    /* border-color: #eea236; */
    background: #666 !important;
    /* font-size: 15px; */
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 5px;
    border: 1px solid #D4D3E8;
    text-transform: uppercase;
    font-weight: 700;
    /* display: flex; */
    margin-right: 10px;
    align-items: center;
    /* width: 9%; */
    color: #fff;
    /* box-shadow: 0px 4px 4px #5C5696; */
    cursor: pointer;
    transition: .3s;
}

.LoginBtn {
    /*background: #4CAF50;
    border-radius: 7px;
    padding: 7px 45px;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    border: 0;
    cursor: pointer;
    text-align: center;
    width: 50%;
    color: #fff;*/

    background: linear-gradient(135deg, #1c5c8c 0%, #229261 100%);
    font-size: 15px;
    margin-top: 26px;
    padding: 15px 20px;
    border-radius: 16px;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
    box-shadow: 0 10px 20px rgba(28, 92, 140, 0.22);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.LoginBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(28, 92, 140, 0.28);
    filter: brightness(1.02);
}

.LoginBtn .button__icon {
    color: rgba(255,255,255,0.9);
}

.bdm-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(28, 92, 140, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(34, 146, 97, 0.10), transparent 25%),
        linear-gradient(180deg, #edf4f9 0%, #f8fbfd 100%);
}

.backButton {
    background: #ddd;
    color: #323234 !important;
    border-radius: 3px;
    padding: 8px 15px;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 32px !important;
    border: 0;
    cursor: pointer;
    text-align: center;
}

    .backButton:hover {
        color: #323234;
        text-decoration: none;
    }
/* Customize the label (the container) */
.check_container {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    /* margin-top: 24px; */
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: 400;
    font-size: 14px;
    border-bottom: 1.5px solid #EDEDED;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.terms {
    font-weight: 400;
    font-size: 14px;
    color: #022B50;
    opacity: 0.7;
    border-bottom: 0;
    padding-bottom: 10px;
    margin-bottom: 0;
}

    .terms a {
        font-weight: 400;
        font-size: 14px !important;
        color: #022B50 !important;
    }

.marketting {
    font-size: 14px !important;
    line-height: 21px !important;
    color: #022B50 !important;
    opacity: 0.7;
    margin-bottom: 20px !important;
}

    .marketting a {
        font-size: 14px !important;
        line-height: 21px !important;
        color: #022B50 !important;
        opacity: 0.7;
        float: none !important;
    }
/* Hide the browser's default checkbox */
.check_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    /*border: 1px #74a4e9 solid;*/
    border: 2px solid #4B89E2;
    border-radius: 0px;
}
/* On mouse-over, add a grey background color */
.check_container:hover input ~ .checkmark {
    background-color: #dbe7f9;
}
/* When the checkbox is checked, add a blue background */
.check_container input:checked ~ .checkmark {
    background-color: #dbe7f9;
    border: 2px solid #4B89E2;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
/* Show the checkmark when checked */
.check_container input:checked ~ .checkmark:after {
    display: block;
}
/* Style the checkmark/indicator */
.check_container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #4B89E2;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.required:after {
    content: "*";
    font-weight: bold;
    color: red;
}

@media screen and (max-width: 700px) {
    .login-cont {
        width: 80%;
        margin: 150px auto;
        padding: 0px;
    }

    .login-box {
        padding: 40px 10%;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

        .sidebar a {
            float: left;
        }

    div.content {
        margin-left: 0;
    }

    .LoginBtn {
        width: 55%;
    }
}

@media screen and (max-width: 400px) {
    .sidebar a {
        text-align: center;
        float: none;
    }

    .checkmark {
        height: 16px;
        width: 16px;
    }

    .check_container .checkmark:after {
        left: 4px;
        top: 0px;
        width: 5px;
        height: 9px;
    }
}




#divLoadingModal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50% !important;
    /*margin-left:50% !important;*/
    background: linear-gradient(to top,#99d6ff 0%, #fed6e3 100%) /*#0d076b*/;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    border: 5px solid #fff;
    z-index: 9999;
}



#divLoader {
    width: 89px;
    height: 89px;
    position: relative;
    background: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    animation-duration: 2.5s;
    animation-name: animSpin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes animSpin {
    50% {
        transform: rotateZ(180deg) scale(.94);
    }

    100% {
        transform: rotateZ(360deg) scale(1);
    }
}

#divLoader,
#divLoader:before,
#divLoader:after {
    border-radius: 50%;
}

    #divLoader:before,
    #divLoader:after {
        content: '';
        position: absolute;
        border: 8px solid transparent;
    }

    #divLoader:before {
        width: 75%;
        height: 75%;
        background: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
        left: 12.5%;
        top: 12.5%;
        border-left: 8px solid rgb(255, 128, 0);
        border-bottom: 8px solid rgb(255, 128, 0);
    }

    #divLoader:after {
        width: 40%;
        height: 40%;
        left: 30%;
        top: 30%;
        border-right: 8px solid rgb(0, 255, 191);
        border-left: 8px solid rgb(0, 255, 191);
        border-bottom: 8px solid rgb(0, 255, 191);
    }

.form-container {
    padding: 20px 18px;
    background-color: white;
    overflow: hidden;
    transition: max-height 0.2sease-out;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

s

.bdm-shell-hero {
    background: linear-gradient(135deg, #1f6fa8 0%, #2f93c3 100%);
    color: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 14px 28px rgba(17, 53, 84, 0.16);
}

.bdm-shell-hero h3,
.bdm-shell-hero p {
    color: #fff;
}

.bdm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bdm-stat-card {
    border-radius: 16px;
    padding: 18px 20px;
    color: #fff;
    min-height: 110px;
    box-shadow: 0 10px 18px rgba(20, 42, 64, 0.12);
}

.bdm-stat-card .bdm-stat-number {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.bdm-stat-card .bdm-stat-label {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.2px;
    opacity: 0.92;
}

.bdm-stat-card .bdm-stat-note {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.bdm-stat-primary {
    background: linear-gradient(135deg, #1f6fa8 0%, #2b90c4 100%);
}

.bdm-stat-warning {
    background: linear-gradient(135deg, #d98c1a 0%, #f3ad45 100%);
}

.bdm-stat-info {
    background: linear-gradient(135deg, #2775a5 0%, #5ca8d3 100%);
}

.bdm-stat-success {
    background: linear-gradient(135deg, #1c8a5b 0%, #49b37f 100%);
}

.bdm-panel-soft {
    border: 1px solid #e6ecf2;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(18, 36, 54, 0.05);
    overflow: hidden;
}

.bdm-panel-soft .panel-heading {
    background: #f8fbfd;
    border-bottom: 1px solid #e6ecf2;
    font-weight: 600;
    color: #234;
}

.bdm-panel-soft .panel-body {
    padding: 16px;
}

.bdm-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px 0;
}

.bdm-section-title h4 {
    margin: 0;
    font-weight: 700;
    color: #20384b;
}

.bdm-section-title span {
    color: #6d7b88;
    font-size: 12px;
}

.bdm-to-do-group {
    margin: 0 0 12px 0;
    border: 1px solid #d9e3ec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(18, 36, 54, 0.04);
}

.bdm-to-do-group > a.accordion {
    background: linear-gradient(135deg, #f8fbfd 0%, #eef4f8 100%);
    color: #17344f;
    font-weight: 700;
    border-bottom: 1px solid #d9e3ec;
    padding: 15px 16px;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.bdm-to-do-group > a.accordion:after {
    color: #5f7285;
}

.bdm-to-do-group > a.accordion:hover {
    background: linear-gradient(135deg, #eaf7f1 0%, #def0e7 100%);
    color: #0f4c34;
}

.bdm-to-do-group .panel {
    margin: 0;
    background: #fff;
    border-top: 1px solid #d9e3ec;
}

.bdm-to-do-group .panel a {
    padding: 12px 16px;
    border-bottom: 1px solid #eff3f6;
    transition: background-color .15s ease, transform .15s ease;
}

.bdm-to-do-group .panel a:last-child {
    border-bottom: none;
}

.bdm-to-do-group .panel a:hover {
    background: #f4fbf7;
    transform: translateX(2px);
}

.bdm-to-do-group .panel a span {
    display: block;
    font-weight: 600;
    color: #183145;
    margin-bottom: 4px;
}

.bdm-to-do-group .panel a p {
    margin: 0;
    color: #61707f;
    font-size: 12px;
    line-height: 1.45;
}

.bdm-to-do-empty {
    padding: 14px 16px;
    color: #7b8792;
    font-style: italic;
    background: #fbfdff;
    border-top: 1px solid #edf2f6;
}

/* Final spacing tune-up */
.bdm-shell-hero {
    padding: 20px 24px;
}

.bdm-stat-card {
    padding: 16px 18px;
    min-height: 102px;
}

.bdm-panel-soft .panel-body {
    padding: 14px;
}

.bdm-tab-content {
    padding: 14px;
}

.bdm-box {
    padding: 16px;
}

.bdm-section-title {
    margin-bottom: 10px;
}

.bdm-shell-hero .btn-default {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #17344f;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(8, 29, 48, 0.12);
}

.bdm-shell-hero .btn-default:hover {
    background: #fff;
    color: #0f3049;
}

.bdm-stat-card {
    border-radius: 16px;
    padding: 18px 20px;
    color: #fff;
    min-height: 110px;
    box-shadow: 0 10px 18px rgba(20, 42, 64, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bdm-stat-card .bdm-stat-number {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
}

.bdm-stat-card .bdm-stat-label {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.2px;
    opacity: 0.92;
}

.bdm-stat-card .bdm-stat-note {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.bdm-stat-primary {
    background: linear-gradient(135deg, #1f6fa8 0%, #2b90c4 100%);
}

.bdm-stat-warning {
    background: linear-gradient(135deg, #d98c1a 0%, #f3ad45 100%);
}

.bdm-stat-info {
    background: linear-gradient(135deg, #147f96 0%, #27a7bf 100%);
}

.bdm-stat-success {
    background: linear-gradient(135deg, #1b8b5d 0%, #30b27b 100%);
}

.bdm-panel-soft {
    border: 1px solid #e6ecf2;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(18, 36, 54, 0.05);
    overflow: hidden;
}

.bdm-panel-soft .panel-heading {
    background: #f8fbfd;
    border-bottom: 1px solid #e6ecf2;
    font-weight: 600;
    color: #234;
}

.bdm-panel-soft .panel-body {
    padding: 16px;
}

.bdm-panel-soft .table {
    margin-bottom: 0;
}

.bdm-panel-soft .table > thead > tr > th {
    background: #f9fbfd;
    color: #20384b;
    font-weight: 700;
    border-bottom: 1px solid #dfe7ee;
}

.bdm-panel-soft .table > tbody > tr > td {
    vertical-align: middle;
}

.bdm-tabs {
    border: 1px solid #dbe4ec;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(17, 39, 60, 0.06);
    overflow: hidden;
}

.bdm-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
    border-bottom: 1px solid #d9e3ec;
}

.bdm-tabs-nav a {
    display: block;
    padding: 10px 16px;
    border-right: 1px solid #d9e3ec;
    color: #26455d;
    text-decoration: none;
    background: transparent;
    font-weight: 600;
}

.bdm-tabs-nav a.active {
    background: linear-gradient(135deg, #1f6fa8 0%, #2f93c3 100%);
    color: #fff;
}

.bdm-tabs-nav a:hover:not(.active) {
    background: #eaf4fa;
    color: #17344f;
}

.bdm-tab-content {
    display: none;
    padding: 18px;
    background: #f8fbfd;
}

.bdm-tab-content.active {
    display: block;
}

.bdm-box {
    border: 1px solid #dbe4ec;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(17, 39, 60, 0.05);
}

.bdm-field {
    border: 1px solid #dbe4ec;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
}

.bdm-card {
    border: 1px solid #dbe4ec;
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(17, 39, 60, 0.04);
}

.bdm-pill {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    background: #f3f6fa;
    border: 1px solid #d7e0ea;
    border-radius: 999px;
}

.bdm-history-table thead th {
    background: #f8fbfd;
    font-weight: 600;
    color: #1f2937;
    vertical-align: middle;
}

.bdm-page-shell {
    padding: 8px 2px 18px;
}

.bdm-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.bdm-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1c3347;
    letter-spacing: 0.2px;
}

.bdm-page-subtitle {
    margin: 6px 0 0;
    color: #6b7f92;
    font-size: 13px;
}

.bdm-header-action {
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(31, 111, 168, 0.18);
}

.bdm-header-action i {
    margin-right: 4px;
}

.bdm-user-table thead th {
    text-transform: none;
    font-size: 13px;
    letter-spacing: 0.2px;
    background: #f9fbfd;
    color: #20384b;
    white-space: nowrap;
}

.bdm-user-table tbody td {
    vertical-align: middle !important;
}

.bdm-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}

.bdm-status-success {
    background: #dff4df;
    color: #1c7c3a;
    border: 1px solid #bfe3bf;
}

.bdm-status-muted {
    background: #eef2f6;
    color: #6b7280;
    border: 1px solid #d7e0ea;
}

.bdm-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bdm-user-actions .btn {
    min-width: 84px;
}

.bdm-inline-form {
    display: inline-block;
    margin: 0;
}

.bdm-user-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.bdm-user-grid-head,
.bdm-user-grid-row {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 2fr 1fr 0.9fr 1.5fr;
    gap: 0;
}

.bdm-user-grid-head {
    background: #f9fbfd;
    color: #20384b;
    font-weight: 700;
    border-bottom: 1px solid #dfe7ee;
}

.bdm-user-grid-head > div,
.bdm-user-grid-row > div {
    padding: 14px 12px;
    border-right: 1px solid #edf2f6;
    min-width: 0;
    word-break: break-word;
}

.bdm-user-grid-head > div:last-child,
.bdm-user-grid-row > div:last-child {
    border-right: none;
}

.bdm-user-grid-row {
    border-bottom: 1px solid #edf2f6;
}

.bdm-user-grid-row:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .bdm-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bdm-user-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .bdm-user-actions .btn,
    .bdm-user-actions .bdm-inline-form {
        width: 100%;
    }

    .bdm-user-grid-head {
        display: none;
    }

    .bdm-user-grid-row {
        grid-template-columns: 1fr;
    }

    .bdm-user-grid-row > div {
        border-right: none;
        border-bottom: 1px solid #edf2f6;
    }

    .bdm-user-grid-row > div:last-child {
        border-bottom: none;
    }
}
