:root {
    --color-0: #161b22;
    --color-1: #0d1117;
    --color-2: rgba(1, 4, 9, 1);
    --color-3: #28cb69;
    --border-1: #30363d;
    --form-border-color: #232842;
    --brand-blue: #006BE9;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}
::-webkit-scrollbar-thumb {
    background: var(--color-2);
    border-radius: 5px;
}

/* Payments Section */
.old-payments .op-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
}
@media (max-width: 767.98px) {
    .old-payments .op-title {
        font-size: 15px;
    }
    .old-payments .op-status {
        text-align: center;
        margin-top: 10px;
    }
}
.old-payments .op-date {
    font-weight: normal;
    font-size: 12px;
    line-height: 23px;
    color: #ffffff;
    margin-top: 10px;
}
.old-payments .op-status,
.old-payments .op-id {
    border-color: var(--color-3);
    background: var(--color-3);
    color: #fff;
    font-weight: 600;
}
.old-payments .op-status {
    border-radius: 7.5px;
    font-size: 14px;
    line-height: 18px;
    padding: 10px 25px;
}
.old-payments .op-id {
    border-radius: 5px;
    padding: 5px 15px;
    min-width: 75px;
    text-align: center;
}

/* Dark Mode Forms & Panels */
body.dark .form-group .form-control,
body.dark .panel-body {
    background: #13151e;
    color: #ffffff;
}

.form-group .form-control {
    outline: none;
    background-color: #13151e;
    border: 1px solid var(--form-border-color);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    min-height: 52px;
    overflow: hidden;
    padding: 10px 18px;
    border-radius: 15px;
    transition: border-color 0.3s, background 0.3s;
}
.form-group .form-control:focus {
    border-color: var(--brand-blue);
    background: #1a1d27;
}

/* Panels */
.panel-body {
    background: #13151e;
    border: 1px solid var(--form-border-color);
    border-radius: 15px;
    padding: 10px;
    color: #fff;
    font-size: 13px;
}

/* Dropdown Styling */
.dropdown-menu {
    width: 100%;
    padding: 0;
    max-height: 43.6vh;
    overflow-y: scroll;
    border: none !important;
    margin-top: 15px;
    transform: translate3d(5px, 40px, 0px) !important;
    background: #252426 !important;
}
#serviceItem, #categoryItem {
    white-space: inherit;
    padding: 10px;
    font-weight: 400;
    font-size: 14px;
    background: #22252e;
    border-bottom: 1px solid black;
    color: white;
    text-align: left;
    width: 100%;
    transition: background 0.2s;
}
#serviceItem:hover,
#categoryItem:hover {
    background: #2e323d;
}

body.dark #serviceItem,
body.dark #categoryItem {
    background: #13151e;
    color: #ffffff;
    border-color: var(--form-border-color);
}

/* Card Order Buttons */
.card-order .co-right > * {
    padding: 0 5px;
}
.card-order .co-right .btn {
    padding: 20px 25px;
}
.btn.btn-dark {
    background: #23252e;
    color: #fff;
    border-radius: 10px;
}

/* Custom Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 110px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 13px;
    text-align: left;
    list-style: none;
    color: #fff;
    background-color: #252426 !important;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}
.dropdown-content a:hover {
    background: #2e323d;
}
