.card-right,
.bg-total {
    background: linear-gradient(
        90deg,
        rgba(214, 53, 81, 0.8) 0%,
        rgba(124, 49, 175, 0.7) 100%
    ) !important;
    color: #fff;
}

span.selected_quantity,
span.single_price {
    color: #fff !important;
}

/* Text white only in gradient backgrounds */
.card-right p,
.card-right h5,
.bg-total p,
.bg-total h5 {
    color: #fff !important;
}

.page-container .main-content {
    padding: calc(70px + 25px) 25px 0;
    min-height: calc(100vh - 70px);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: rgba(214, 53, 81, 0.8);
    background: linear-gradient(
        90deg,
        rgba(214, 53, 81, 0.8) 0%,
        rgba(124, 49, 175, 0.7) 100%
    );
}

.switch input[type="checkbox"]:checked + label {
    border-color: rgba(214, 53, 81, 0.8);
    background: linear-gradient(
        90deg,
        rgba(214, 53, 81, 0.8) 0%,
        rgba(124, 49, 175, 0.7) 100%
    );
}

.nav-pills > li > a.active.nav-link {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: #fff;
    border-color: #a66be1 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        linear-gradient(261.99deg, #e273d8 1.23%, #919aff 90.88%) !important;
}

.nav-tabs > li > a.active.nav-link {
    border-bottom: 2px solid rgba(214, 53, 81, 0.7);
    color: #2a2a2a;
    background-color: transparent;
}
.nav {
    border-bottom-width: 2px !important;
    border-bottom-style: solid !important;
    border-bottom-color: #c985e5 !important;
}
/* ==================== NOTE CARD STYLING (Đồng bộ tất cả trang) ====================  */

/* Note Header - Style giống sidebar-card-header warning */
.note-header {
    font-weight: 600;
    min-height: unset;
    padding: 14px 18px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: none;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

#area-note .note-header i,
#area-note .note-header span {
    color: #856404 !important;
}

#area-note .note-header i {
    font-size: 18px;
}

/* Card Right Container */
.card-right {
    margin-top: 0;
    background: #fff !important;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-right:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-right .card-body {
    background: white;
    padding: 16px 18px;
}

.card-right .card-body.color-info {
    background: white !important;
}

.card-right p,
.card-right span {
    color: #555 !important;
}

.card-right .note-title {
    color: #333 !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-right .note-content {
    color: #666 !important;
    font-size: 13px;
    line-height: 1.6;
}

/* ==================== END NOTE CARD STYLING ====================  */

.bg-total,
.choose-left .card,
.choose-left .card-body.color-info {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        linear-gradient(261.99deg, #e273d8 1.23%, #919aff 90.88%) !important;
}

.bg-total h6,
.choose-left .card h6 {
    color: white !important;
}

.choose-left .font-13.text-danger {
    margin-bottom: 0px !important;
}
.btn-primary:not(.btn-nw2) {
    background-color: #919aff !important;
    border-color: #919aff !important;
    color: #fff !important;
}

.card-body .d-flex h4 {
    background: linear-gradient(261.99deg, #6f78d9 1.23%, #f58beb 90.88%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: 35px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Hiệu ứng bóng lướt */
.card-body .d-flex h4::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.main-content {
    background: #f7f6fc !important;
}
.btn.btn-rounded,
.form-control {
    border-radius: 15px !important;
}
.btn.btn-rounded:hover,
.btn.btn-primary:hover,
.btn-success:hover {
    background-color: #7a82ff !important; /* sáng hơn chút */
    border-color: #7a82ff !important;
    box-shadow: 0 6px 15px rgba(145, 154, 255, 0.4); /* glow */
    transform: translateY(-3px); /* nhấc nhẹ lên */
    transition: all 0.3s ease; /* mượt hơn */
}

.col-lg-12 > .card {
    background: white !important;
}

.card-body h4 {
    margin: 0 auto; /* Đẩy h4 ra giữa */
    text-align: center; /* Nội dung chữ căn giữa */
}
.pagination .page-item.active .page-link {
    background: #7a82ff !important;
    border-color: transparent;
}

.switch input[type="checkbox"]:checked + label {
    border-color: rgba(214, 53, 81, 0.8);
    background: linear-gradient(261.99deg, #6f78d9 1.23%, #f58beb 90.88%);
}
label[for="is_multi_order"] {
    border-color: aliceblue !important;
}
.text-danger,
span.total_price,
h4.font-bold.text-white {
    color: #f9d423 !important;
}

.side-nav-menu .nav-item.active,
.side-nav
    .side-nav-inner
    .side-nav-menu
    > li.dropdown
    ul.dropdown-menu
    > li.active {
    background: linear-gradient(
        261.99deg,
        rgba(226, 115, 216, 0.2) 1.23%,
        rgba(145, 154, 255, 0.2) 90.88%
    ) !important;
    border-radius: 10px 5px 5px 10px !important;
    border-right: 4px solid #ae6cf0 !important;
}
.side-nav-menu {
    overflow-y: scroll; /* hoặc auto */
    scrollbar-width: none !important; /* ẩn trên Firefox */
    -ms-overflow-style: none !important; /* ẩn trên IE & Edge cũ */
}

.side-nav-menu::-webkit-scrollbar {
    display: none !important; /* ẩn trên Chrome, Safari */
}

.nav-tabs > li > a.active.nav-link {
    border-bottom: 2px solid #ae6cf0;
    color: #2a2a2a;
    background-color: transparent;
}

.img.menu {
    margin-right: 5px !important;
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
    background: linear-gradient(261.99deg, #f3baee 1.23%, #ffecfc 90.88%);
    border: none;
}

/* ==================== ORDER PAGE OPTIMIZATION ====================  */

/* Page Card */
.order-page-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Page Header */
.order-page-header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.order-page-header .header-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.order-page-header .header-icon i {
    font-size: 28px;
    color: white;
}

.order-page-header .header-info h4 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.order-page-header .header-info p {
    margin: 0;
    font-size: 14px;
    color: #666 !important;
}

/* Order Tabs */
.order-tabs {
    margin-bottom: 24px;
}

.order-tabs .nav-pills {
    border-bottom: 2px solid #f0f0f0;
    gap: 8px;
}

.order-tabs .nav-pills .nav-link {
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    color: #666;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.order-tabs .nav-pills .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.order-tabs .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.order-tabs .nav-pills .nav-link i {
    margin-right: 6px;
}

/* Form Sections */
.form-section {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.section-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.optional-badge {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.section-content {
    padding: 18px;
}

/* Form Elements */
.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.form-hint i {
    margin-right: 4px;
}

.form-control-lg {
    padding: 14px 16px;
    font-size: 15px;
}

/* Reaction Grid */
.reaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
}

.reaction-item {
    cursor: pointer;
    margin: 0;
}

.reaction-item input {
    display: none;
}

.reaction-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    background: #f8f9fc;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reaction-box img {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

.reaction-box span {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.reaction-item:hover .reaction-box {
    background: #f0f2ff;
    border-color: #c5ceff;
}

.reaction-item:hover .reaction-box img {
    transform: scale(1.15);
}

.reaction-item input:checked + .reaction-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
}

.reaction-item input:checked + .reaction-box span {
    color: #667eea;
}

/* Server Note Card */
.server-note-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f8 100%);
    border: 1px solid #ffd6e7;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.server-note-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff6b95 0%, #c44569 100%);
    color: white;
}

.server-note-header i {
    font-size: 18px;
    margin-right: 8px;
}

.server-note-header span {
    font-weight: 600;
    font-size: 14px;
}

.server-note-body {
    padding: 16px;
}

.server-note-body p {
    color: #c44569 !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.server-note-body .note-content-service-server {
    color: #666 !important;
    font-size: 13px;
    line-height: 1.6;
}

/* Server Note Content - Style cho tất cả phần tử con */
.server-note-body .note-content-service-server * {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6;
}

.server-note-body .note-content-service-server p {
    margin-bottom: 8px;
}

.server-note-body .note-content-service-server p:last-child {
    margin-bottom: 0;
}

.server-note-body .note-content-service-server h1,
.server-note-body .note-content-service-server h2,
.server-note-body .note-content-service-server h3,
.server-note-body .note-content-service-server h4,
.server-note-body .note-content-service-server h5,
.server-note-body .note-content-service-server h6 {
    font-size: 14px !important;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px;
    margin-top: 0;
}

.server-note-body .note-content-service-server ul,
.server-note-body .note-content-service-server ol {
    padding-left: 18px;
    margin-bottom: 8px;
}

.server-note-body .note-content-service-server li {
    margin-bottom: 4px;
}

.server-note-body .note-content-service-server a {
    color: #667eea !important;
    text-decoration: underline;
}

/* Order Summary */
.order-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-top: 8px;
}

.summary-header {
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.summary-header i {
    font-size: 20px;
    margin-right: 10px;
}

.summary-body {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 8px;
}

.summary-row .selected_quantity,
.summary-row .single_price {
    font-weight: 600;
    color: white !important;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.summary-total .total_price {
    font-size: 24px;
    color: #ffd700 !important;
}

.btn-submit {
    background: white;
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-submit i {
    margin-right: 8px;
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 16px;
    overflow: hidden;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
}

.sidebar-card-header i {
    font-size: 18px;
    margin-right: 10px;
}

/* Tips Card */
.tips-card .sidebar-card-header {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #8b4513;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li i {
    color: #00c853;
    margin-right: 10px;
    margin-top: 2px;
}

/* Note Card */
.note-card {
    margin-top: 16px;
}

.note-card .sidebar-card-header.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.note-card .note-title {
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px;
}

.note-card .note-content {
    font-size: 13px;
    color: #666 !important;
    line-height: 1.6;
}

/* Note Content - Style cho tất cả phần tử con */
.note-card .note-content * {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6;
}

.note-card .note-content p {
    margin-bottom: 8px;
}

.note-card .note-content p:last-child {
    margin-bottom: 0;
}

.note-card .note-content h1,
.note-card .note-content h2,
.note-card .note-content h3,
.note-card .note-content h4,
.note-card .note-content h5,
.note-card .note-content h6 {
    font-size: 14px !important;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px;
    margin-top: 0;
}

.note-card .note-content ul,
.note-card .note-content ol {
    padding-left: 18px;
    margin-bottom: 8px;
}

.note-card .note-content li {
    margin-bottom: 4px;
}

.note-card .note-content a {
    color: #667eea !important;
    text-decoration: underline;
}

.note-card .note-content a:hover {
    color: #764ba2 !important;
}

/* Support Card */
.support-card .sidebar-card-header.support {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.support-card p {
    font-size: 13px;
    color: #666 !important;
    margin-bottom: 12px;
}

.btn-support {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-support i {
    margin-right: 6px;
}

.sidebar-card-body {
    padding: 16px 18px;
}

/* Server List Styling */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-list .custom-control,
.server-list .custom-radio-2 {
    margin: 0;
    padding: 0;
    position: relative;
}

.server-list .custom-radio-2 {
    background: #f8f9fc;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-list .custom-radio-2:hover {
    background: #f0f2ff;
    border-color: #c5ceff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.server-list .custom-radio-2:has(.custom-control-input:checked) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Hide default radio button */
.server-list .custom-radio-2 .custom-control-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom radio indicator */
.server-list .custom-radio-2 .custom-control-label {
    display: flex;
    align-items: center;
    padding: 0;
    padding-left: 30px;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    background: transparent !important;
    border: none !important;
}

.server-list .custom-radio-2 .custom-control-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.server-list .custom-radio-2 .custom-control-label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.2s ease;
}

.server-list .custom-radio-2 .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #667eea;
}

.server-list .custom-radio-2 .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateY(-50%) scale(1);
}

/* Server name styling */
.server-list .custom-radio-2 .custom-control-label span[name="nameServer"] {
    color: #333 !important;
    font-weight: 600;
}

/* Badge styling */
.server-list .custom-radio-2 .badge-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

/* Server description */
.server-list .custom-radio-2 > div {
    margin-top: 6px;
    padding-left: 30px;
}

.server-list .custom-radio-2 > div span {
    font-size: 12px;
    color: #666 !important;
}

/* Disabled state */
.server-list .custom-radio-2.price-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f5f5f5;
}

.server-list .custom-radio-2.price-disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e8eaed;
}

.server-list .custom-radio-2.price-disabled .custom-control-label {
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .order-page-header {
        flex-direction: column;
        text-align: center;
    }

    .order-page-header .header-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .reaction-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #area-note {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .reaction-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-content {
        padding: 14px;
    }
}

/* ==================== END ORDER PAGE OPTIMIZATION ====================  */

/* ==================== LEGACY ORDER PAGE AUTO-STYLE ====================  */
/* Tự động áp dụng cho các trang order cũ không cần sửa HTML */

/* Main Card Styling */
.main-content > .row > .col-lg-12 > .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Page Title */
.main-content .card-body > .d-flex h4,
.main-content .card-body h4.m-b--20 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 16px 0;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f0f0f0;
}

/* Tab Navigation */
.tab-custom .nav-pills {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0;
    gap: 8px;
}

.tab-custom .nav-pills .nav-item .nav-link {
    padding: 12px 20px;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
    color: #666;
    background: transparent !important;
    border: none;
    transition: all 0.3s ease;
}

.tab-custom .nav-pills .nav-item .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05) !important;
}

.tab-custom .nav-pills .nav-item .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.tab-custom .nav-pills .nav-item .nav-link i {
    margin-right: 6px;
}

/* Form Styling */
.choose-left {
    background: #fff;
}

.choose-left > .row {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px !important;
    transition: all 0.3s ease;
}

.choose-left > .row:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Labels */
.choose-left label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

/* Form Controls */
.choose-left .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 10px !important;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.choose-left .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Server Selection List */
.list-seeding {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-seeding .custom-control {
    margin: 0 !important;
}

.list-seeding .custom-control-label {
    padding: 10px 16px !important;
    background: #f8f9fc;
    border: 2px solid transparent;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.list-seeding .custom-control-label:hover {
    background: #f0f2ff;
    border-color: #c5ceff;
}

.list-seeding .custom-control-input:checked ~ .custom-control-label {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    color: #667eea;
}

/* FB Reaction Box */
.fb-reaction {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fb-reaction .checkbox {
    margin: 0;
}

.fb-reaction .checkbox label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px;
    background: #f8f9fc;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 70px;
}

.fb-reaction .checkbox label:hover {
    background: #f0f2ff;
    border-color: #c5ceff;
}

.fb-reaction .checkbox label:hover img {
    transform: scale(1.15);
}

.fb-reaction .checkbox label img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.fb-reaction .checkbox input[type="radio"] {
    display: none;
}

.fb-reaction .checkbox input[type="radio"]:checked + img,
.fb-reaction .checkbox label:has(input:checked) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
}

/* Warning Cards in Form */
.choose-left .card.card-white {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f8 100%) !important;
    border: 1px solid #ffd6e7;
    border-radius: 10px;
}

.choose-left .card.card-white .card-body {
    background: transparent !important;
}

.choose-left .card.card-white h6 {
    color: #c44569 !important;
    font-weight: 500;
    font-size: 12px;
}

/* Server Info Card */
.choose-left > .row.justify-content-end .card {
    border-radius: 12px;
    overflow: hidden;
}

.choose-left > .row.justify-content-end .card .card-body.color-info {
    padding: 16px;
}

.choose-left > .row.justify-content-end .card .note-title-service-server {
    font-size: 16px !important;
    margin-bottom: 8px;
}

/* Total Summary Card */
.card-info .card-body.bg-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 12px;
    padding: 20px;
}

.card-info .bg-total h4 {
    font-size: 18px !important;
    margin-bottom: 8px;
    background: none !important;
    -webkit-text-fill-color: white !important;
}

.card-info .bg-total h4 .total_price {
    font-size: 26px;
    color: #ffd700 !important;
}

.card-info .bg-total h5 {
    font-size: 14px;
    opacity: 0.9;
}

.card-info .bg-total .selected_quantity,
.card-info .bg-total .single_price {
    color: #ffd700 !important;
    font-weight: 700;
}

/* Submit Button */
.choose-left .btn.btn-primary.btn-lg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.choose-left .btn.btn-primary.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Right Sidebar Note Card - Đồng bộ với sidebar-card warning */
#area-note .card.card-right {
    background: white !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-top: 0;
    border: none;
}

#area-note .card.card-right .note-header {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    border-bottom: none;
}

#area-note .card.card-right .note-header i {
    color: #856404 !important;
    font-size: 18px;
    margin-right: 10px;
}

#area-note .card.card-right .note-header span {
    color: #856404 !important;
}

#area-note .card.card-right .card-body {
    background: white !important;
    padding: 16px 18px;
}

#area-note .card.card-right .note-title {
    color: #333 !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

#area-note .card.card-right .note-content {
    color: #666 !important;
    font-size: 13px;
    line-height: 1.6;
}

/* Area Note Content - Style cho tất cả phần tử con */
#area-note .card.card-right .note-content * {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6;
}

#area-note .card.card-right .note-content p {
    margin-bottom: 8px;
}

#area-note .card.card-right .note-content p:last-child {
    margin-bottom: 0;
}

#area-note .card.card-right .note-content h1,
#area-note .card.card-right .note-content h2,
#area-note .card.card-right .note-content h3,
#area-note .card.card-right .note-content h4,
#area-note .card.card-right .note-content h5,
#area-note .card.card-right .note-content h6 {
    font-size: 14px !important;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px;
    margin-top: 0;
}

#area-note .card.card-right .note-content ul,
#area-note .card.card-right .note-content ol {
    padding-left: 18px;
    margin-bottom: 8px;
}

#area-note .card.card-right .note-content li {
    margin-bottom: 4px;
}

#area-note .card.card-right .note-content a {
    color: #667eea !important;
    text-decoration: underline;
}

/* Order History Tab */
.area-status-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: none !important;
}

.area-status-filter .nav-item .nav-link {
    padding: 8px 14px;
    border-radius: 8px !important;
    font-size: 12px;
    font-weight: 500;
    background: #f8f9fc;
    border: 1px solid #e8e8e8 !important;
    color: #666;
    transition: all 0.3s ease;
}

.area-status-filter .nav-item .nav-link:hover {
    background: #f0f2ff;
    border-color: #c5ceff !important;
}

.area-status-filter .nav-item .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: white;
}

.area-status-filter .nav-item .nav-link .badge {
    margin-left: 6px;
}

/* DataTable Styling */
#table-datatable {
    border-radius: 12px;
    overflow: hidden;
}

#table-datatable thead th {
    background: #f8f9fc;
    border: none;
    padding: 14px 16px;
    font-weight: 600;
    color: #444;
    font-size: 13px;
}

#table-datatable tbody td {
    padding: 12px 16px;
    border-color: #f0f0f0;
    font-size: 13px;
}

#table-datatable tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
}

/* Responsive for Legacy */
@media (max-width: 991px) {
    .choose-left > .row {
        padding: 14px;
    }

    #area-note {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .fb-reaction .checkbox label {
        padding: 10px;
        min-width: 60px;
    }

    .fb-reaction .checkbox label img {
        width: 28px;
        height: 28px;
    }

    .area-status-filter .nav-item .nav-link {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* ==================== END LEGACY ORDER PAGE AUTO-STYLE ====================  */

/* ==================== HOME PAGE OPTIMIZATION ====================  */

/* Stat Cards Row */
.main-content > .row:first-child .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.main-content > .row:first-child .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-content > .row:first-child .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.main-content > .row:first-child .card .card-body {
    padding: 20px 24px;
}

.main-content > .row:first-child .card p.text-uppercase {
    font-size: 12px;
    font-weight: 600;
    color: #888 !important;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
}

.main-content > .row:first-child .card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e !important;
    margin: 0;
}

.main-content > .row:first-child .card h2 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Avatar Icons */
.main-content > .row:first-child .avatar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.main-content > .row:first-child .card:hover .avatar-icon {
    transform: scale(1.1);
}

.main-content > .row:first-child .avatar-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.main-content > .row:first-child .avatar-cyan {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
}

.main-content > .row:first-child .avatar-red {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    box-shadow: 0 4px 15px rgba(235, 51, 73, 0.4);
}

.main-content > .row:first-child .avatar-gold {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    box-shadow: 0 4px 15px rgba(242, 153, 74, 0.4);
}

.main-content > .row:first-child .avatar-icon i {
    color: white !important;
}

/* Charts Row - Second Row */
.main-content > .row:nth-child(2) .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-content > .row:nth-child(2) .card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-content > .row:nth-child(2) .card .card-body {
    padding: 24px;
}

.main-content > .row:nth-child(2) .card h5 {
    font-size: 14px;
    font-weight: 700;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rating Card */
.main-content > .row:nth-child(2) .col-lg-3:first-child .card {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.main-content > .row:nth-child(2) .col-lg-3:first-child h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Star Rating Styling */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 20px;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating label::before {
    content: '★';
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f2c94c;
}

/* Statistics Chart Card */
.main-content > .row:nth-child(2) .col-lg-6 .card {
    background: white;
}

.main-content > .row:nth-child(2) .col-lg-6 .badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Monthly Total Card */
.main-content > .row:nth-child(2) .col-lg-3:last-child .card {
    background: linear-gradient(180deg, #ffffff 0%, #f0fff4 100%);
}

.main-content > .row:nth-child(2) .col-lg-3:last-child h2 {
    font-size: 24px;
    font-weight: 700;
}

/* Transactions Table Card */
.main-content > .row:nth-child(3) .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.main-content > .row:nth-child(3) .card .card-body {
    padding: 24px;
}

.main-content > .row:nth-child(3) .card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333 !important;
}

.main-content > .row:nth-child(3) .btn-default {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.main-content > .row:nth-child(3) .btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* DataTable in Home Page */
.main-content > .row:nth-child(3) #table-datatable {
    border-collapse: separate;
    border-spacing: 0;
}

.main-content > .row:nth-child(3) #table-datatable thead th {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
    border: none;
    padding: 14px 16px;
    font-weight: 600;
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.main-content > .row:nth-child(3) #table-datatable thead th:first-child {
    border-radius: 10px 0 0 0;
}

.main-content > .row:nth-child(3) #table-datatable thead th:last-child {
    border-radius: 0 10px 0 0;
}

.main-content > .row:nth-child(3) #table-datatable tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}

.main-content > .row:nth-child(3) #table-datatable tbody tr {
    transition: background 0.2s ease;
}

.main-content > .row:nth-child(3) #table-datatable tbody tr:hover {
    background: rgba(102, 126, 234, 0.04);
}

.main-content > .row:nth-child(3) #table-datatable tbody tr:last-child td {
    border-bottom: none;
}

/* Badge Styling */
.main-content > .row:nth-child(3) .badge-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Money styling in table */
.main-content > .row:nth-child(3) #table-datatable .text-success {
    color: #10b981 !important;
    font-weight: 600;
}

.main-content > .row:nth-child(3) #table-datatable .text-danger {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Modal Dashboard - Notification */
.modal-content.modal-dashboard {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: white;
}

.modal-content.modal-dashboard .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 20px;
}

.modal-content.modal-dashboard .modal-header .modal-title {
    color: white !important;
    font-weight: 600;
}

.modal-content.modal-dashboard .modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
}

.modal-content.modal-dashboard .modal-header .close:hover {
    opacity: 1;
}

.modal-content.modal-dashboard .modal-body {
    padding: 24px;
    background: white;
}

.modal-content.modal-dashboard .notify-title {
    font-size: 18px;
    font-weight: 700;
    color: #333 !important;
    margin-bottom: 12px;
}

.modal-content.modal-dashboard .notify-content {
    color: #555 !important;
    font-size: 14px;
    line-height: 1.7;
}

.modal-content.modal-dashboard .notify-content p {
    color: #555 !important;
    margin-bottom: 10px;
}

.modal-content.modal-dashboard .modal-footer {
    background: #f8f9fc;
    border-top: 1px solid #eee;
    padding: 12px 20px;
}

/* Notify Dashboard Title */
.notify-dashboard {
    font-size: 20px !important;
    font-weight: 700;
    color: #333 !important;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content > .row:first-child .col-md-6:nth-child(1) .card {
    animation: fadeInUp 0.5s ease forwards;
}

.main-content > .row:first-child .col-md-6:nth-child(2) .card {
    animation: fadeInUp 0.5s ease 0.1s forwards;
}

.main-content > .row:first-child .col-md-6:nth-child(3) .card {
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.main-content > .row:first-child .col-md-6:nth-child(4) .card {
    animation: fadeInUp 0.5s ease 0.3s forwards;
}

/* Responsive */
@media (max-width: 991px) {
    .main-content > .row:first-child .card h2 {
        font-size: 24px;
    }

    .main-content > .row:first-child .avatar-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .main-content > .row:nth-child(2) .col-lg-3:first-child h1 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .main-content > .row:first-child .card .card-body {
        padding: 16px;
    }

    .main-content > .row:first-child .card h2 {
        font-size: 20px;
    }

    .main-content > .row:first-child .avatar-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ==================== END HOME PAGE OPTIMIZATION ====================  */

/* ==================== BANKS PAGE OPTIMIZATION ====================  */

/* Main Card */
.main-content > .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.main-content > .card > .card-body {
    padding: 24px;
}

/* Page Title */
.main-content > .card h4.m-b--20 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px !important;
}

/* Promotion Banner */
#promotion-charge h4 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white !important;
    -webkit-text-fill-color: white !important;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Bank Form Card */
#pills-bank-auto .card,
#pills-crypto .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

#pills-bank-auto .card:hover,
#pills-crypto .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#pills-bank-auto .card .card-header,
#pills-crypto .card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 20px;
}

#pills-bank-auto .card .card-header .card-title,
#pills-crypto .card .card-header .card-title {
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

#pills-bank-auto .card .card-header .card-title i,
#pills-crypto .card .card-header .card-title i {
    margin-right: 8px;
}

#pills-bank-auto .card .card-body,
#pills-crypto .card .card-body {
    padding: 24px;
}

/* Bank Select */
#pills-bank-auto .form-control,
#pills-crypto .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 12px !important;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#pills-bank-auto .form-control:focus,
#pills-crypto .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Bank Limits */
#bankLimits {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    color: #555;
}

#bankLimits span {
    font-weight: 600;
}

#min_charge, #max_charge {
    color: #667eea;
}

/* Bank Image */
#ImageBank {
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    padding: 8px;
    background: white;
    transition: all 0.3s ease;
}

#ImageBank:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Money Display */
#pills-bank-auto .bag-price {
    font-weight: 700;
    font-size: 20px !important;
}

#payment_money {
    color: #667eea !important;
}

#received_money {
    color: #10b981 !important;
}

#received_money i {
    color: #f59e0b !important;
    margin-left: 4px;
}

/* Submit Button */
#btnCreate {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#btnCreate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#btnCreate i {
    margin-right: 8px;
}

/* Note Card (CHÚ Ý) */
#pills-bank-auto .col-lg-6:last-child .card .card-header {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
}

#pills-bank-auto .col-lg-6:last-child .card .fs-6 b {
    color: #555 !important;
    font-weight: 500;
    line-height: 1.8;
}

/* Invoice Table Card */
#pills-bank-auto > .row:last-child .card {
    margin-top: 20px;
}

#pills-bank-auto > .row:last-child .card .card-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: #333 !important;
}

/* Crypto Cards */
#list_crypto .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

#list_crypto .card .card-header {
    background: linear-gradient(135deg, #f7931a 0%, #ffad3d 100%);
    padding: 20px;
}

#list_crypto .list-group-item {
    border-left: none;
    border-right: none;
    padding: 14px 20px;
    font-size: 14px;
}

#list_crypto .list-group-item:first-child {
    border-top: none;
}

#list_crypto .list-group-item b {
    color: #333;
}

#list_crypto .btn-copy {
    float: right;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
}

#list_crypto .btn-copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* DataTable Styling for Banks Page */
#pills-bank-auto #table-datatable thead th {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
    border: none;
    padding: 14px 16px;
    font-weight: 600;
    color: #444;
    font-size: 13px;
}

#pills-bank-auto #table-datatable tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

#pills-bank-auto #table-datatable tbody tr:hover {
    background: rgba(102, 126, 234, 0.04);
}

/* Status Badges */
#pills-bank-auto .badge-cyan {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

#pills-bank-auto .badge-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#pills-bank-auto .badge-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

/* Action Buttons */
#pills-bank-auto .btn-view {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    margin-right: 6px;
}

#pills-bank-auto .btn-cancel {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%) !important;
    border: none !important;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    #pills-bank-auto .col-lg-6:last-child .card {
        margin-top: 20px;
    }
}

/* ==================== END BANKS PAGE OPTIMIZATION ====================  */

/* ==================== AGENCY-SITE PAGE OPTIMIZATION ====================  */

/* Page Header Buttons */
.page-header .media .btn {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.page-header .media .btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
}

.page-header .media .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
}

.page-header .media .btn-primary.btn-tone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
}

.page-header .media .btn-primary.btn-tone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.page-header .media .btn-secondary.btn-tone {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: none !important;
    color: white !important;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 24px;
}

.modal-header .modal-title {
    color: white !important;
    font-weight: 600;
    font-size: 18px;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
}

.modal-body {
    padding: 24px;
}

.modal-body .form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.modal-body .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 10px !important;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.modal-footer {
    background: #f8f9fc;
    border-top: 1px solid #eee;
    padding: 16px 24px;
}

.modal-footer .btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
}

/* ==================== END AGENCY-SITE PAGE OPTIMIZATION ====================  */

/* ==================== AFFILIATE PAGE OPTIMIZATION ====================  */

/* Affiliate Stat Cards - Same as Home */
.main-content > .row:first-child .avatar-blue,
.main-content > .row:first-child .avatar-cyan,
.main-content > .row:first-child .avatar-red,
.main-content > .row:first-child .avatar-gold {
    color: white !important;
}

/* Info Cards */
.main-content > .row:nth-child(2) > .col-lg-6 .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.main-content > .row:nth-child(2) > .col-lg-6 .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 16px 20px;
}

.main-content > .row:nth-child(2) > .col-lg-6:first-child .card .card-header {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-header .card-title {
    color: white !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-header .card-title i {
    margin-right: 8px;
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-body {
    padding: 20px;
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-body ul li {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

.main-content > .row:nth-child(2) > .col-lg-6 .card .card-body b {
    color: #333;
}

/* Affiliate Link Input */
#link_affiliate {
    border: 2px solid #e8e8e8 !important;
    border-radius: 10px 0 0 10px !important;
    padding: 12px 16px;
}

#link_affiliate + .input-group-append .btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 12px 16px;
}

/* Commission Rate */
.commission_rate {
    font-size: 18px !important;
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== END AFFILIATE PAGE OPTIMIZATION ====================  */

/* ==================== HISTORY PAGE OPTIMIZATION ====================  */

/* History Page Card */
.main-content > .row > .col-lg-12 > .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.main-content > .row > .col-lg-12 > .card > .card-body {
    padding: 24px;
}

.main-content > .row > .col-lg-12 > .card h5.mb-0 {
    font-size: 18px;
    font-weight: 700;
    color: #333 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* History DataTable */
#table-datatable thead th {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f8 100%);
    border: none;
    padding: 14px 16px;
    font-weight: 600;
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#table-datatable tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
}

#table-datatable tbody tr {
    transition: background 0.2s ease;
}

#table-datatable tbody tr:hover {
    background: rgba(102, 126, 234, 0.04);
}

/* Status Badges Global */
.badge-pill {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
}

.badge-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

.badge-warning {
    background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%) !important;
    color: white !important;
}

.badge-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.badge-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%) !important;
}

.badge-cyan {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%) !important;
    color: #ffffff !important;
}

/* Status badge - Hoàn thành (cyan) */
.badge-pill.badge-cyan.status,
.badge.badge-pill.badge-cyan,
span.badge-cyan {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%) !important;
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.badge-cyan i {
    color: #ffffff !important;
}

/* ==================== END HISTORY PAGE OPTIMIZATION ====================  */

/* ==================== PRICE PAGE OPTIMIZATION ====================  */

/* Price Filter Select */
#selectFilterService {
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    max-width: 400px;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

#selectFilterService:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Price Page Title */
.main-content > .row > .col-lg-12 > .card h5.title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px !important;
}

/* Price Table Specific */
#table-datatable td img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==================== END PRICE PAGE OPTIMIZATION ====================  */

/* ==================== GLOBAL TABLE IMPROVEMENTS ====================  */

/* DataTables Pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: white !important;
}

/* DataTables Search */
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e8e8e8 !important;
    border-radius: 10px !important;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
    outline: none;
}

/* DataTables Length Select */
.dataTables_wrapper .dataTables_length select {
    border: 2px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 6px 10px;
}

/* DataTables Info */
.dataTables_wrapper .dataTables_info {
    color: #666;
    font-size: 13px;
}

/* ==================== END GLOBAL TABLE IMPROVEMENTS ====================  */

/* ==================== PAYMENT DETAIL PAGE OPTIMIZATION ====================  */

/* Main Payment Card */
.main-content > .card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}

/* Inner Card */
.main-content .card .card-body .card.pt-4 {
    border: none !important;
    border-radius: 16px;
    box-shadow: none;
    background: transparent;
}

/* Card Header - Title */
.main-content .card .card-header.border-0 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px 16px 0 0 !important;
    padding: 20px 24px !important;
    margin: -1rem -2.25rem 0 -2.25rem;
    width: calc(100% + 4.5rem);
}

.main-content .card .card-header.border-0 .card-title h2 {
    color: white !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-content .card .card-header.border-0 .card-title h2 img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Stepper Container */
.stepper.stepper-pills {
    background: #f8fafc;
    border-radius: 16px;
    padding: 0 !important;
    margin-top: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stepper.stepper-pills .d-flex.flex-row-fluid {
    border-right: none !important;
    padding: 24px;
}

.stepper.stepper-pills .d-flex.flex-row-fluid:first-child {
    background: white;
    border-right: 2px dashed #e8e8e8 !important;
}

.stepper.stepper-pills .d-flex.flex-row-fluid:last-child {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Transfer Info Table */
.stepper .table.table-row-dashed {
    border-collapse: separate;
    border-spacing: 0;
}

.stepper .table.table-row-dashed tr:first-child td {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 20px !important;
    border-radius: 12px;
    text-align: center;
}

.stepper .table.table-row-dashed tr:not(:first-child) td {
    padding: 16px 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    border-style: solid !important;
    font-size: 14px !important;
}

.stepper .table.table-row-dashed tr:not(:first-child) td:first-child {
    font-weight: 600 !important;
    color: #555 !important;
    width: 40%;
}

.stepper .table.table-row-dashed tr:last-child td {
    border-bottom: none !important;
}

/* Bank Info Values */
.stepper .table p.text-info,
.stepper .table p.fw-bolder {
    color: #d63384 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0;
    padding: 8px 14px;
    background: #fff5f8;
    border: 1px solid #ffcce0;
    border-radius: 8px;
    display: inline-block !important;
}

/* Copy Buttons */
.stepper .table .btn-copy,
.stepper .table .btn-info.btn-sm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    float: right;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.stepper .table .btn-copy:hover,
.stepper .table .btn-info.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* QR Code Section */
.stepper .groupQr {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.stepper .groupQr img#qr {
    border-radius: 12px;
    border: 3px solid #667eea;
    padding: 8px;
    background: white;
}

/* QR Instructions */
.stepper .table tr:last-child td h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.stepper .table tr:last-child td p {
    color: #555 !important;
    font-size: 13px !important;
    line-height: 1.8;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.stepper .table tr:last-child td p:hover {
    border-left-color: #667eea;
    padding-left: 16px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 8px 8px 0;
}

.stepper .table tr:last-child td p[style*="color: red"] {
    color: white !important;
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%) !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    border-left: none !important;
    margin-top: 16px;
}

/* Warning Notice Box */
.notice.d-flex.bg-light-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.1) 100%) !important;
    border: 2px solid #ffc107 !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.notice .svg-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice .svg-icon svg {
    width: 28px;
    height: 28px;
}

.notice .svg-icon svg rect[fill="black"] {
    fill: white;
}

.notice h4.text-gray-900 {
    color: #d97706 !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.notice .fs-6.text-red,
.notice div[style*="color: red"] {
    color: #dc2626 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 10px;
    margin-bottom: 12px;
}

.notice .fs-6.text-gray-700 {
    color: #555 !important;
    font-size: 13px !important;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1200px) {
    .stepper.stepper-pills {
        flex-direction: column !important;
    }

    .stepper.stepper-pills .d-flex.flex-row-fluid:first-child {
        border-right: none !important;
        border-bottom: 2px dashed #e8e8e8;
    }
}

@media (max-width: 768px) {
    .main-content .card .card-header.border-0 {
        margin: -1rem -1rem 0 -1rem;
        width: calc(100% + 2rem);
        padding: 16px !important;
    }

    .main-content .card .card-header.border-0 .card-title h2 {
        font-size: 16px;
    }

    .stepper.stepper-pills .d-flex.flex-row-fluid {
        padding: 16px;
    }

    .stepper .table .btn-copy {
        float: none;
        margin-top: 8px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .stepper .groupQr img#qr {
        width: 200px !important;
        height: 200px !important;
    }

    .notice.d-flex.bg-light-warning {
        flex-direction: column;
        text-align: center;
    }

    .notice .svg-icon {
        margin-bottom: 16px;
    }
}

/* ==================== END PAYMENT DETAIL PAGE OPTIMIZATION ====================  */

/* ==================== BANK PAGE OPTIMIZATION ====================  */

/* Bank Form Card */
.bank-form-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    background: white;
}

.bank-form-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none !important;
    padding: 18px 24px !important;
}

.bank-form-card .card-header .card-title {
    color: white !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-form-card .card-header .card-title i {
    font-size: 18px;
}

.bank-form-card .card-body {
    padding: 24px !important;
}

/* Bank Select */
.bank-form-card .form-group label {
    font-weight: 600;
    color: #444;
    font-size: 14px;
    margin-bottom: 8px;
}

.bank-form-card .form-group .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.bank-form-card .form-group .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

/* Bank Limits Box */
.bank-limits-box {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.bank-limits-box span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.bank-limits-box span i {
    font-size: 14px;
}

.bank-limits-box span:first-child i {
    color: #ef4444;
}

.bank-limits-box span:last-child i {
    color: #22c55e;
}

.bank-limits-box strong {
    color: #333;
    font-weight: 700;
}

/* Bank Logo Preview */
.bank-logo-preview {
    max-height: 100px;
    max-width: 180px;
    object-fit: contain;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    transition: all 0.3s ease;
}

.bank-logo-preview:hover {
    border-color: #667eea;
    transform: scale(1.02);
}

/* Money Summary */
.money-summary {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.money-summary .money-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.money-summary .money-item .label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
}

.money-summary .money-item .value {
    font-size: 18px;
    font-weight: 700;
}

.money-summary .money-item.payment .value {
    color: #3b82f6;
}

.money-summary .money-item.receive .value {
    color: #22c55e;
}

.money-summary .money-item .value i {
    color: #f97316;
    margin-left: 4px;
}

/* Button Nạp */
.btn-nap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.btn-nap:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.45);
}

.btn-nap i {
    margin-right: 8px;
}

/* Note Card - Hướng dẫn */
.note-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    background: white;
    height: 100%;
}

.note-card .card-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-bottom: none !important;
    padding: 18px 24px !important;
}

.note-card .card-header .card-title {
    color: white !important;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-card .card-header .card-title i {
    font-size: 18px;
}

.note-card .card-body {
    padding: 24px !important;
}

/* Guide List */
.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
    transition: all 0.3s ease;
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list li:hover {
    padding-left: 8px;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 8px;
}

.guide-list li i {
    font-size: 22px;
    min-width: 28px;
    text-align: center;
    margin-top: 2px;
}

.guide-list li:nth-child(1) i {
    color: #3b82f6;
}

.guide-list li:nth-child(2) i {
    color: #22c55e;
}

.guide-list li:nth-child(3) i {
    color: #ef4444;
}

.guide-list li:nth-child(4) i {
    color: #f59e0b;
}

.guide-list li span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.guide-list li span strong {
    color: #333;
}

/* Tab Custom - Bank Auto / Crypto */
.tab-custom .nav-pills {
    gap: 8px;
    margin-bottom: 0;
}

.tab-custom .nav-pills .nav-link {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    background: #f1f5f9;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-custom .nav-pills .nav-link:hover {
    background: #e2e8f0;
    color: #333;
}

.tab-custom .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
}

.tab-custom .nav-pills .nav-link i {
    margin-right: 8px;
}

/* Invoice Table Card */
#pills-bank-auto .card:not(.bank-form-card):not(.note-card) {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .money-summary {
        flex-direction: column;
    }

    .bank-limits-box {
        flex-direction: column;
        gap: 8px;
    }

    .bank-logo-preview {
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .bank-form-card .card-body,
    .note-card .card-body {
        padding: 16px !important;
    }

    .guide-list li {
        padding: 12px 0;
    }

    .guide-list li i {
        font-size: 18px;
        min-width: 24px;
    }

    .guide-list li span {
        font-size: 13px;
    }

    .btn-nap {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* ==================== END BANK PAGE OPTIMIZATION ====================  */
