/* Modern Users Index Page Styling */

/* Page Background */
body {
    background: #f5f5f5;
    min-height: 100vh;
}

/* Page Header Styling */
.page-titles {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-titles h3 {
    color: #495057;
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: none;
    flex: 1;
}

.page-titles .breadcrumb {
    background: #f8f9fa;
    margin: 0;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.page-titles .breadcrumb-item {
    color: #6c757d;
    font-weight: 500;
    font-size: 13px;
}

.page-titles .breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 2px 6px;
    border-radius: 8px;
}

.page-titles .breadcrumb-item a:hover {
    color: #495057;
    background: #e9ecef;
    transform: translateY(-1px);
}

.page-titles .breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

.page-titles .breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd;
    font-size: 12px;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .page-titles {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-titles .breadcrumb {
        align-self: flex-end;
    }
}

/* Card Styling */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 30px;
}

/* Processing Panel */
.dataTables_processing {
    background: #ffffff;
    color: #495057;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Search Section */
.userlist-topsearch {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Enhanced Button Styling */
.userlist-top-left a {
    background: #f8f9fa;
    color: #495057;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    letter-spacing: 0.3px;
}

.userlist-top-left a:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #495057;
    text-decoration: none;
    border-color: #dee2e6;
}

.userlist-top-left a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.userlist-top-left a:hover i {
    transform: scale(1.1);
}

/* Search Form Styling */
.userlist-topsearch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.userlist-top-left {
    flex-shrink: 0;
}

#users-table_filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}

#users-table_filter label {
    font-weight: 600;
    color: #495057;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 12px;
}

.form-group {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.form-group form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 110px;
    max-width: 130px;
    height: 42px;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
    transform: translateY(-1px);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 400px;
}

.search-box input {
    min-width: 180px;
    border-radius: 15px;
    flex: 1;
    font-size: 14px;
    padding: 10px 18px;
    border: 2px solid #e9ecef;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 42px;
}

.search-box input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
    transform: translateY(-1px);
}

.search-box .btn-flat {
    background: #667eea;
    border: 2px solid #667eea;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    position: static !important;
}

.search-box .btn-flat i {
    font-size: 14px;
}

.search-box .btn-flat:hover {
    background: #5a6fd8;
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(102, 126, 234, 0.4);
}

.search-box .btn-warning {
    padding: 10px 18px;
    font-size: 13px;
    border-radius: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
    background: #ffc107;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 193, 7, 0.3);
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .btn-warning:hover {
    background: #e0a800;
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(255, 193, 7, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .userlist-topsearch {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .userlist-top-left {
        text-align: center;
    }
    
    #users-table_filter {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        justify-content: stretch;
    }
    
    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 10px;
        max-width: none;
    }
    
    .search-box input {
        min-width: 100%;
    }
}

/* Enhanced Warning Button */
.btn-warning {
    background: #ffc107;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    letter-spacing: 0.5px;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    color: white;
    text-decoration: none;
}

/* Table Container */
.table-responsive {
    max-height: 700px;
    overflow-y: auto;
    overflow-x: auto;
}

/* Table Nowrap */
.table {
    white-space: nowrap;
}

.table thead th,
.table tbody td {
    white-space: nowrap;
}

/* ===== ACTION BUTTONS HORIZONTAL LAYOUT ===== */
.action-btn {
    text-align: center;
    white-space: nowrap;
}

.action-btn a {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 0 3px;
    text-align: center;
    line-height: 32px;
    vertical-align: middle;
    position: relative;
}

.action-btn a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.action-btn a:first-child {
    background: #17a2b8;
    color: white;
}

.action-btn a:nth-child(2) {
    background: #ffc107;
    color: white;
}

.action-btn a:last-child {
    background: #dc3545;
    color: white;
}

.action-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.action-btn li a {
  display: block;
  width: 100%;
  height: 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: 0;
  text-align: center;
  line-height: 32px;
  vertical-align: middle;
  position: relative;
  background: none !important;
  background-color: transparent !important;
  color: #000000 !important;
}

.action-btn li a:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
  color: #495057;
  text-decoration: none;
}

.action-btn li a:active {
  transform: scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.action-btn li a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
}

.action-btn li a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  transition: all 0.3s ease;
}

.action-btn li a:hover i {
  transform: translate(-50%, -50%) scale(1.1);
}

/* ===== DELETE ALL SPACING ===== */
.delete-all input[type="checkbox"] {
    margin-right: 15px;
}

.delete-all label {
    margin-right: 10px;
}

/* ===== VENDOR STATUS STYLING ===== */
.vendor_avtive.closed {
    color: red;
    font-weight: 600;
}

.vendor_avtive.open {
    color: green;
    font-weight: 600;
}

/* ===== SIDEBAR STYLING ===== */
.left-sidebar .scroll-sidebar {
    height: 100vh;
}

/* ===== USERS TABLE FILTER STYLING ===== */
.card-body #users-table_filter {
    width: 100%;
    text-align: center;
}

#users-table_filter #selected_search.form-control, 
#users-table_filter .form-group, 
#users-table_filter .form-group .form-control, 
#users-table_filter .form-group button.btn {
    display: inline-block;
    width: auto;
    height: 40px;
}

/* ===== HEADER STICKY POSITIONING ===== */
body.sticky header.topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    bottom: auto !important;
}

.sticky .fix-sidebar .left-sidebar {
    padding-top: 0;
}

/* ===== FORM CONTROL STYLING ===== */
.form-control {
    background-color: #fff;
    border: 1px solid #ccc;
}

/* ===== RESTAURANT PAYOUT CREATE STYLING ===== */
.row.restaurant_payout_create.term-cond {
    max-width: 70%;
    margin: 0 auto !important;
    display: table;
    width: 100%;
}

.page-wrapper > .card-body {
    padding: 0;
    position: relative;
}

/* Fix footer positioning */
.footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background: #ffffff;
    border-top: 1px solid rgba(120, 130, 140, 0.13);
}

.row.restaurant_payout_create .form-group.row .col-7 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.row.restaurant_payout_create {
    max-width: 70%;
    margin: 0 auto;
    display: table;
    width: 100%;
}

.row.restaurant_payout_create .form-group.row .col-7 > span.restaurant_name {
    font-size: 15px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    font-weight: 500;
    width: 100%;
    display: block;
    color: #67757c;
    min-height: 38px;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.row.restaurant_payout_create .form-group.row .col-7 .control-inner {
    position: relative;
}

.row.restaurant_payout_create .form-group.row .col-7 .control-inner > span {
    position: absolute;
    right: 35px;
    top: 8px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.row.restaurant_payout_create .form-group.row .col-7 .form-control {
    width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.restaurant_payout_create .restaurant_payout_create-inner {
    margin: 0 -10px;
}

.form-group.row {
    display: inline-block;
    width: 100%;
    padding: 0 5px;
    margin: 0;
    margin-right: -3px;
    margin-bottom: 25px;
    vertical-align: top;
}

.form-group.row.width-50 {
    width: 50%;
}

.btm-btn.form-group i.fa {
    margin-right: 10px;
}

.btm-btn.form-group {
    margin-top: 25px;
    margin-bottom: 0;
}

.restaurant_payout_create-inner fieldset {
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #fff;
}

.restaurant_payout_create-inner fieldset legend {
    display: inline-block;
    width: auto;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    padding: 7px 14px;
    background: #0873FF;
    border-radius: 5px;
}

.btm-btn.form-group a.btn.btn-default {
    background: #979797;
    color: #fff;
}

.row.restaurant_payout_create label.control-label {
    color: #000;
    font-weight: 500;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.btn-warning:hover {
    background-color: #0873FF;
    border-color: #0873FF;
}

/* ===== NAVIGATION TABS STYLING ===== */
.nav.nav-tabs.align-items-end.card-header-tabs {
    justify-content: center;
    background: none;
    border: 0;
}

.nav-tabs.card-header-tabs .nav-link {
    color: #000;
}

.nav-tabs.card-header-tabs .nav-link.active, 
.nav-tabs.card-header-tabs .nav-link:hover {
    background: #3a73f1;
    color: #fff;
}

.payment-top-tab .nav-tabs.card-header-tabs .nav-link {
    border: 1px solid #f3f3f3;
    border-radius: 0;
}

.payment-top-tab .nav-tabs.card-header-tabs .nav-link.active, 
.payment-top-tab .nav-tabs.card-header-tabs .nav-link:hover {
    border-color: #0873FF;
}

.nav-tabs.card-header-tabs .nav-link span.badge-success {
    background: #0873FF;
    color: #fff;
}

.nav-tabs.card-header-tabs .nav-link.active span.badge-success, 
.nav-tabs.card-header-tabs .nav-link:hover span.badge-success {
    background: #fff;
    color: #0873FF;
}

.restaurant_payout_create .form-text.text-muted {
    font-size: 13px;
    padding-top: 2px;
}

/* ===== CHECKBOX STYLING ===== */
.checkbox {
    position: relative;
    padding-left: 50px;
}

.checkbox input[type=checkbox] {
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #000;
    appearance: none;
    opacity: 1;
    left: 20px;
    width: 20px;
    height: 20px !important;
    display: inline-block;
    vertical-align: middle;
    max-width: inherit;
    min-height: inherit;
    cursor: pointer;
}

.checkbox [type="checkbox"]:checked {
    background: #0873FF;
}

/* ===== RESTAURANT TAB SECTION ===== */
.resttab-section {
    position: relative;
}

/* ===== DATATABLES PROCESSING ===== */
.dataTables_processing {
    text-align: center;
    font-size: 27px;
    color: #fff;
    font-weight: 700;
    position: absolute;
    left: -80px;
    right: -80px;
    top: -80px;
    bottom: -150px;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    padding-top: 10%;
}

.dataTables_processing > span {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
}

/* ===== LEGEND BLOCK STYLING ===== */
.restaurant_payout_create-inner fieldset legend {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    clear: both !important;
}

/* ===== NO WRAP STYLING - CORRECTED ===== */
.row.restaurant_payout_create label.control-label {
    white-space: nowrap !important;
}

.row.restaurant_payout_create .form-control {
    white-space: nowrap !important;
}

.restaurant_payout_create .form-text.text-muted {
    white-space: nowrap !important;
}

.row.restaurant_payout_create .form-group.row .col-7 > span.restaurant_name {
    white-space: nowrap !important;
}

.row.restaurant_payout_create .form-group.row .col-7 .control-inner > span {
    white-space: nowrap !important;
}

/* ===== BOTTOM BUTTONS STYLING ===== */
.btm-btn.form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.btm-btn.form-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    min-width: 120px;
    justify-content: center;
}

.btm-btn.form-group .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: auto;
    min-width: 80px;
    justify-content: center;
}

.btm-btn.form-group .btn-primary {
    background: #007bff;
    color: white;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
}

.btm-btn.form-group .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 123, 255, 0.4);
}

.btm-btn.form-group .dropdown-item {
    background: #6c757d;
    color: white;
    box-shadow: 0 3px 8px rgba(108, 117, 125, 0.3);
}

.btm-btn.form-group .dropdown-item:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(108, 117, 125, 0.4);
}

/* ===== MOBILE RESPONSIVE FOR RESTAURANT PAYOUT CREATE ===== */
@media (max-width: 768px) {
    .row.restaurant_payout_create {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 15px;
    }
    
    .restaurant_payout_create-inner {
        margin: 0 !important;
    }
    
    .restaurant_payout_create-inner fieldset {
        padding: 15px !important;
        margin-bottom: 20px;
    }
    
    .restaurant_payout_create-inner fieldset legend {
        font-size: 16px !important;
        padding: 8px 12px !important;
        text-align: center;
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    .form-group.row {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }
    
    .form-group.row.width-50 {
        width: 100% !important;
        display: block !important;
    }
    
    .form-group.row label.control-label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        font-weight: 600 !important;
        color: #495057 !important;
    }
    
    .form-group.row .col-3,
    .form-group.row .col-7 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }
    
    .form-group.row .form-control {
        width: 100% !important;
        margin-bottom: 5px !important;
    }
    
    .form-group.row .form-text.text-muted {
        font-size: 12px !important;
        color: #6c757d !important;
        margin-bottom: 10px !important;
    }
    
    /* File input styling for mobile */
    .form-group.row input[type="file"] {
        width: 100% !important;
        padding: 10px !important;
        border: 1px solid #ddd !important;
        border-radius: 5px !important;
        margin-bottom: 10px !important;
    }
    
    /* Image preview mobile */
    .placeholder_img_thumb,
    #image_preview {
        width: 100% !important;
        text-align: center !important;
        padding: 10px 0 !important;
    }
    
    #image_preview img {
        max-width: 80px !important;
        height: auto !important;
    }
    
    /* Checkbox styling for mobile */
    .form-check {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 15px 0 !important;
    }
    
    .form-check input[type="checkbox"] {
        width: 20px !important;
    height: 20px !important;
        margin: 0 !important;
    }
    
    .form-check label {
        margin: 0 !important;
        font-size: 16px !important;
    }
    
    /* Bottom buttons mobile */
    .btm-btn.form-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btm-btn.form-group .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .btm-btn.form-group .dropdown-item {
        width: auto;
        max-width: 150px;
    }
}

/* Additional mobile fixes */
@media (max-width: 480px) {
    .restaurant_payout_create-inner fieldset {
        padding: 10px !important;
    }
    
    .restaurant_payout_create-inner fieldset legend {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }
    
    .form-group.row {
        margin-bottom: 15px !important;
    }
    
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* ===== USER DETAIL PAGE STYLING ===== */
.user-top {
    background: #032F67 url(../images/usertop-bg.png) no-repeat top left;
    background-size: cover;
    border-radius: 7px 7px 0px 0px;
    height: 102px;
    margin-bottom: 50px;
    padding: 0 40px;
}

.user-top > .row {
    top: 30px;
    position: relative;
}

.user-top .user-profile .profile-img {
    background: #D9D9D9;
    border-radius: 100px;
    width: 124px;
    height: 124px;
    padding: 0;
}

.user-top .user-profile .profile-img img {
    border: 2px solid #fff;
    padding: 0;
    height: 124px;
}

.user-title .card-title {
    color: #fff;
    margin-bottom: 45px;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.03em;
}

.user-top .add-wallate{
    margin-bottom: 45px;
    background: #28a745;
    color: #fff;
    border: 2px solid #28a745;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3);
}

.user-top .add-wallate:hover {
    background: #218838;
    border-color: #218838;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(40, 167, 69, 0.4);
    text-decoration: none;
}

.user-top .add-wallate i {
    font-size: 12px;
}

.card-body .userlist-topsearch #users-table_filter {
    width: auto;
    text-align: right;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#users-table_filter label {
    font-weight: 600;
    color: #495057;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 14px;
    margin-right: 15px;
}

#users-table_filter .form-group {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    flex: 1;
    max-width: 500px;
}

#users-table_filter .form-group form {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.userlist-top-left a.nav-link {
    border: 1px solid #0873FF;
    border-radius: 5px;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.03em;
    color: #0873FF;
}

.userlist-top-left a.nav-link:hover {
    background: #0873FF;
    color: #fff;
}

.userlist-topsearch #users-table_filter #selected_search.form-control {
    margin-right: 0;
    border: none;
    border-right: 1px solid #e9ecef;
    border-radius: 0;
    min-width: 130px;
    height: 42px;
    font-size: 14px;
    padding: 10px 15px;
    background: #ffffff;
    color: #495057;
    font-weight: 500;
    outline: none;
    box-shadow: none;
}

.userlist-topsearch #users-table_filter #selected_search.form-control:focus {
    border-right: 1px solid #667eea;
    outline: none;
    box-shadow: none;
}

.userlist-topsearch .search-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
}

#users-table_filter .search-box .form-control.search {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0;
    border: none;
    height: 42px;
    font-size: 14px;
    flex: 1;
    min-width: 180px;
    background: #ffffff;
    color: #495057;
    outline: none;
    box-shadow: none;
}

#users-table_filter .search-box .form-control.search:focus {
    outline: none;
    box-shadow: none;
    background: #ffffff;
}

#users-table_filter .search-box .form-control.search::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.search-box button.btn-flat {
    background: #667eea;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.3);
    position: static;
    flex-shrink: 0;
    margin-left: 0;
    z-index: 1;
}

.search-box button.btn-flat:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.4);
}

.search-box button.btn-flat i {
    font-size: 14px;
}

.search-box .btn.btn-warning.btn-flat {
    background: #ffc107;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 193, 7, 0.3);
    position: static;
    width: auto;
    height: 42px;
    margin-left: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.search-box .btn.btn-warning.btn-flat:hover {
    background: #e0a800;
    border-color: #e0a800;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(255, 193, 7, 0.4);
    text-decoration: none;
}

/* Enhanced responsive styles for search section */
@media (max-width: 768px) {
    .card-body .userlist-topsearch #users-table_filter {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px;
        justify-content: stretch !important;
        padding: 12px 10px;
        margin: 5px 0;
        text-align: center;
        border-radius: 8px;
    }
    
    #users-table_filter label {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        text-align: center;
        margin-right: 0;
        font-size: 14px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 5px;
    }
    
    #users-table_filter .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-width: none;
    }
    
    #users-table_filter .form-group form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }
    
    .userlist-topsearch #users-table_filter #selected_search.form-control {
        margin-right: 0;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        width: 100%;
        max-width: none;
        min-width: auto;
        height: 40px;
        font-size: 15px;
        padding: 8px 12px;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        font-weight: 500;
    }
    
    .userlist-topsearch #users-table_filter #selected_search.form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .userlist-topsearch .search-box {
        flex-direction: row;
        gap: 6px;
        position: relative;
        width: 100%;
    }
    
    #users-table_filter .search-box .form-control.search {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 8px 12px;
        min-width: 0;
        flex: 1;
        width: auto;
        height: 40px;
        font-size: 15px;
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    
    #users-table_filter .search-box .form-control.search:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    .search-box button.btn-flat {
        width: 40px;
        height: 40px;
        margin-left: 0;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
        flex-shrink: 0;
    }
    
    .search-box .btn.btn-warning.btn-flat {
        margin-left: 0;
        flex-shrink: 0;
        width: auto;
        min-width: 60px;
        height: 40px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        padding: 8px 12px;
        box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
    }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
    .card-body .userlist-topsearch #users-table_filter {
        padding: 10px 8px;
        border-radius: 6px;
        margin: 3px 0;
    }
    
    #users-table_filter label {
        font-size: 13px;
        gap: 6px;
        margin-bottom: 3px;
    }
    
    .userlist-topsearch #users-table_filter #selected_search.form-control,
    #users-table_filter .search-box .form-control.search {
        height: 38px;
        font-size: 14px;
        border-radius: 6px;
        padding: 6px 10px;
    }
    
    .search-box button.btn-flat {
        width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .search-box .btn.btn-warning.btn-flat {
        height: 38px;
        font-size: 12px;
        border-radius: 6px;
        padding: 6px 10px;
        min-width: 55px;
    }
    
    .userlist-topsearch .search-box {
        gap: 4px;
    }
    
    #users-table_filter .form-group form {
        gap: 6px;
    }
}

.user-detail { /*max-width: 760px ;margin: 0 auto;*/
    padding: 0 15px;
}

.user-detail .nav.nav-tabs {
    background: none;
    border: 0;
    text-align: center;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ececec;
}

.user-detail .nav.nav-tabs li {
    display: inline-block;
    margin: 0 5px;
}

.user-detail .nav.nav-tabs li a {
    display: block;
    padding: 5px 20px;
    border-radius: 5px 5px 0 0;
    border: 1px solid #072750;
    color: #072750;
    border-bottom: 0;
}

.user-detail .nav.nav-tabs li a:hover, .user-detail .nav.nav-tabs li a.active {
    background: #072750;
    color: #fff;
}

.user-detail #information {
    max-width: 760px;
    margin: 0 auto;
}

.user-detail h2 {
    margin-bottom: 30px;
    margin-top: 0px;
    color: #333 !important;
    font-weight: 600;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-detail .col-group {
    background: #FFFFFF;
    border: 2px solid #F3F3F3;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 7px;
    padding: 17px 24px;
    margin-bottom: 23px;
}

.user-detail .col-group label {
    font-weight: 500 !important;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.03em;
    color: #393939;
    display: block;
}

.user-detail .col-group span {
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.03em;
    color: #212529;
}

.user-detail .col-group span.badge-warning {
    background: red !important;
    color: #fff !important;
}

.user-detail .col-group span.badge {
    color: #fff !important;
}

.user-detail .col-group span.badge.badge-success {
    background: green !important;
}

.user-detail .col-group span.badge.btn-success {
    color: #44A677;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.user-detail .btn-warning, .btn-warning.disabled {
    background: #F56062;
    border-radius: 5px;
    border-color: #F56062;
}

.userlist-top-left.date-wrap {
    text-align: left;
}

.userlist-top-left.date-wrap > .date {
    display: inline-block;
    padding-right: 5px;
}

.userlist-top-left.date-wrap > .date label {
    font-size: 14px;
    color: #888888;
}

.user-detail .box {
    margin-bottom: 25px;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.box-header h3.box-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.03em;
    color: #333333;
    padding: 15px;
    background: #fff;
    margin: -11px -11px 8px -11px;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #ececec;
}

.ridedetail-page .user-detail {
    margin-top: 20px;
}

/* ===== THEME SELECTION STYLING ===== */

/* Main container */
.form-group.choose-theme {
    margin-bottom: 30px;
}

/* Title styling */
.form-group.choose-theme .control-label {
    font-weight: 600;
    font-size: 16px;
    color: #495057;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Theme selection container */
.select-theme-radio {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Individual theme card */
.select-theme-radio .form-check-label {
    position: relative;
    display: block;
    width: 200px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hover effects */
.select-theme-radio .form-check-label:hover {
    border-color: #ff683a;
    box-shadow: 0 4px 15px rgba(255, 104, 58, 0.1);
    transform: translateY(-2px);
}

/* Hidden radio input */
.select-theme-radio .form-check-label .btn-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Selected state */
.select-theme-radio .form-check-label:has(.btn-check:checked) {
    border-color: #ff683a;
    background: #fff8f6;
    box-shadow: 0 4px 20px rgba(255, 104, 58, 0.15);
}

/* Theme name text */
.select-theme-radio .form-check-label .text-muted {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    display: block;
}

/* Selected text color */
.select-theme-radio .form-check-label:has(.btn-check:checked) .text-muted {
    color: #ff683a;
    font-weight: 700;
}

/* Theme preview image */
.select-theme-radio .form-check-label img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: block;
    margin: 0 auto;
}

/* Selected image styling */
.select-theme-radio .form-check-label:has(.btn-check:checked) img {
    border-color: #ff683a;
}

/* Custom radio button indicator */
.select-theme-radio .form-check-label::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: #fff;
}

/* Selected radio button */
.select-theme-radio .form-check-label:has(.btn-check:checked)::before {
    border-color: #ff683a;
    background: #ff683a;
}

/* Checkmark */
.select-theme-radio .form-check-label::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    line-height: 16px;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
}

/* Show checkmark when selected */
.select-theme-radio .form-check-label:has(.btn-check:checked)::after {
    opacity: 1;
}


.language-list .dropdown .btn-link {
    text-decoration: none;
    color: var(--text-muted) !important;
    padding: 0.5rem 0.75rem;
    border: none;
    background: #459f73;
    transition: all 0.3s ease;
}
.profile-pic {
    border-radius: 50%;
    height: 50px;
    object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .select-theme-radio {
        flex-direction: column;
        gap: 15px;
    }
    
    .select-theme-radio .form-check-label {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 15px;
    }
    
    .select-theme-radio .form-check-label .text-muted {
        margin: 0;
        flex: 1;
    }
    
    .select-theme-radio .form-check-label img {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        margin: 0;
    }
}