*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif
}
.awesome-hotel-booking {
  margin: 0 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* View Button */
.ahbn-btn-view {
    background-color: #3498db !important; /* blue */
    color: #fff !important;
    border: 0 !important;
}
.ahbn-btn-view:hover {
    background-color: #2980b9 !important; /* blue */
    color: #fff !important;
}

/* Edit Button */
.ahbn-btn-edit {
    background-color: #603d05 !important; /* blue */
    color: #fff !important;
    border: 0 !important;
}
.ahbn-btn-edit:hover {
    background-color: #e67e22 !important; /* blue */
    color: #fff !important;
}

/* Delete Button */
.ahbn-btn-delete {
    background-color: #e74c3c !important; /* blue */
    color: #fff !important;
    border: 0 !important;
}
.ahbn-btn-delete:hover {
    background-color: #c0392b !important; /* blue */
    color: #fff !important;
}

.ahbn-left-tabs {
  margin: 0;
  flex-basis: 220px;
  background-color: #fff;
  border: 1px solid #ddd;
}
.ahbn-left-tabs li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 15px 25px;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
}
.ahbn-left-tabs li {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
}
.ahbn-left-tabs li a.active {
  background-color: #96672b;
  color: #fff;
  transition: .3s;
}
.ahbn-left-tabs li a:hover {
  background-color: #96672b;
  color: #fff;
}

.ahbn-right-box {
    flex: 1;
    min-width: 300px; /* optional */
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 20px;
}
.ahbn-right-box .nav-tab-wrapper .nav-tab.nav-tab-active {
  background-color: #e53935;
  color: #fff;
}
.ahbn-right-box .nav-tab-wrapper .nav-tab {
  background-color: transparent;
}



/* --------------- */

/* General Layout */
        .afon-wrap { margin-top: 20px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
        .afon-profile-header { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; padding: 30px; display: flex; align-items: center; gap: 25px; margin-bottom: 30px; }
        
        /* Avatars & Stats */
        .afon-avatar-big { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #f0f0f1; }
        .afon-avatar-sm { width: 32px; height: 32px; border-radius: 50%; }
        .afon-stats-mini { display: flex; gap: 40px; margin-top: 15px; }
        .afon-stat-item span { display: block; font-size: 12px; color: #646970; text-transform: uppercase; font-weight: 600; }
        .afon-stat-item strong { font-size: 18px; color: #1d2327; }

        /* Card & Table UI */
        .afon-table-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.05); }
        .afon-table-header { padding: 15px 25px; border-bottom: 1px solid #f0f0f1; background: #fafafa; }
        .afon-table-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1d2327; }
        .afon-table-body { padding: 25px; }
        
        /* Table Rows */
        .afon-user-row { display: flex; align-items: center; gap: 12px; }
        .afon-user-name { font-weight: 700; color: #1d2327; }
        .afon-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; background: #f0f0f1; color: #1d2327; border: 1px solid #dcdcde; }
        .afon-badge-completed { background: #e7f4e4; color: #1e4620; border-color: #c3e6cb; }
        .afon-badge-pending { background: #fcf9e8; color: #856404; border-color: #ffeeba; }
        
        /* Action Buttons (The SaaS Design) */
        .afon-btn-action { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dcdcde; background: #fff; color: #2c3338; transition: all 0.2s ease; cursor: pointer; }
        .afon-btn-action:hover { background: #f6f7f7; border-color: #8c8f94; color: #1d2327; }
        .afon-btn-action .dashicons { font-size: 17px; width: 17px; height: 17px; color: #50575e; transition: color 0.2s; }
        .afon-btn-action:hover .dashicons { color: #004085; }

        /* Utility */
        .afon-loyal-icon { color: #f39c12; font-size: 18px; }
        .afon-text-muted { color: #a7aaad; font-size: 11px; }
        .afon-email-text { color: #646970; font-size: 13px; }
        .afon-mt-20 { margin-top: 20px; }
        .afon-flex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .afon-flex-header h1 { margin: 0; font-weight: 800; font-size: 24px; }
        .afon-text-right { text-align: right; }

        /* Reports Layout */
.afon-reports-wrap { margin-top: 20px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
.afon-flex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }

/* Analytics Cards */
.afon-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.afon-stat-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 12px; padding: 20px; position: relative; transition: 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,.05); }
.afon-stat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.afon-stat-label { font-size: 11px; color: #646970; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.afon-stat-value { font-size: 24px; font-weight: 800; margin: 8px 0 0; display: block; color: #1d2327; }
.afon-stat-icon { position: absolute; top: 20px; right: 20px; font-size: 20px; color: #dcdcde; }

/* Card Accents */
.afon-stat-rev { border-top: 4px solid #004085; }
.afon-stat-rev .afon-stat-value { color: #004085; }
.afon-stat-done { border-top: 4px solid #2ecc71; }
.afon-stat-wait { border-top: 4px solid #f39c12; }

/* Filter Bar */
.afon-filter-bar { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #ccd0d4; margin-bottom: 25px; display: flex; align-items: flex-end; gap: 15px; flex-wrap: wrap; box-shadow: 0 2px 4px rgba(0,0,0,.05); }
.afon-filter-group { display: flex; flex-direction: column; gap: 5px; }
.afon-filter-group label { font-weight: 700; font-size: 11px; text-transform: uppercase; color: #646970; }
.afon-filter-bar select, .afon-filter-bar input { border-radius: 6px; border: 1px solid #c3c4c7; padding: 6px 12px; height: 38px; }

/* Status Badges */
.afon-badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; }
.afon-badge-completed { background: #eafaf1; color: #1e8449; border-color: #d1f2e1; }
.afon-badge-pending { background: #fff9e6; color: #856404; border-color: #ffeeba; }
.afon-badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.afon-badge-completed .afon-badge-dot { background: #2ecc71; }
.afon-badge-pending .afon-badge-dot { background: #f39c12; }

/* Export Button */
.afon-btn-export { background: #fff !important; color: #1d2327 !important; border: 1px solid #dcdcde !important; font-weight: 600 !important; border-radius: 6px !important; padding: 0 15px !important; height: 38px !important; cursor: pointer; }
.afon-btn-export:hover { border-color: #004085 !important; color: #004085 !important; background: #fff9f9 !important;}
/* Extras Table Styling */
.afon-extras-table { border: 1px solid #ccd0d4; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-top: 20px; border-collapse: separate; }
.afon-extras-table thead th { background: #fafafa; padding: 15px; font-weight: 700; color: #50575e; border-bottom: 2px solid #f0f0f1; text-transform: uppercase; font-size: 11px; }
.afon-extras-table td { padding: 15px; vertical-align: middle; border-bottom: 1px solid #f0f0f1; }

/* Thumbnails */
.afon-extra-img { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; border: 1px solid #eee; }
.afon-extra-no-img { width: 45px; height: 45px; border-radius: 8px; background: #f6f7f7; display: flex; align-items: center; justify-content: center; color: #c3c4c7; border: 1px solid #eee; }

/* Status & Badges */
.afon-badge-qty { background: #f0f0f1; color: #1d2327; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; border: 1px solid #dcdcde; display: inline-block; }
.afon-badge-out { background: #fff9f9; color: #004085; border-color: #f5c2c2; }
.afon-price-text { font-weight: 700; color: #004085; font-size: 15px; }

/* SaaS Action Buttons */
.afon-btn-action { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; border: 1px solid #dcdcde; background: #fff; color: #2c3338; cursor: pointer; }
.afon-btn-action:hover { border-color: #004085; color: #004085; background: #fff9f9; }
.afon-btn-danger:hover { color: #fff; border-color: #004085; background: #004085; }
.afon-btn-danger .dashicons { color: #004085; transition: 0.2s; }
.afon-btn-danger:hover .dashicons { color: #fff !important; }

/* Utility Classes */
.afon-text-right { text-align: right; }
.afon-text-center { text-align: center; }
.afon-id-code { background: none; padding: 0; color: #a7aaad; font-size: 11px; }
.afon-empty-state { padding: 40px; color: #646970; text-align: center; }

/* Add/Edit Extra Layout */
.afon-extra-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 30px; max-width: 1000px; margin: 30px 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.afon-conf-card { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.04); overflow: hidden; }
.afon-conf-header { padding: 20px 25px; border-bottom: 1px solid #f0f0f1; background: #fff; }
.afon-conf-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: #1d2327; }
.afon-conf-body { padding: 25px; }

/* Form Elements */
.afon-form-row { margin-bottom: 20px; }
.afon-form-row label { display: block; font-weight: 600; margin-bottom: 8px; color: #1d2327; }
.afon-input-modern { width: 100%; padding: 10px 15px; border: 1px solid #dcdcde; border-radius: 8px; font-size: 14px; transition: 0.2s; box-sizing: border-box; }
.afon-input-modern:focus { border-color: #004085; outline: none; box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.1); }

/* Media Upload Area */
.afon-extra-upload { border: 2px dashed #dcdcde; border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; transition: 0.3s; }
.afon-extra-upload:hover { border-color: #004085; background: #fff9f9; }
.afon-extra-upload img { max-width: 120px; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.afon-upload-text { font-size: 12px; color: #004085; margin: 0; font-weight: 600; }

/* Sidebar Summary */
.afon-summary-box { background: #f8f9fa; border-radius: 12px; padding: 20px; border: 1px solid #dcdcde; position: sticky; top: 50px; }
.afon-summary-item { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 13px; color: #646970; }
.afon-summary-item strong { color: #1d2327; }

/* Save Button */
.afon-btn-save { background: #004085; color: #fff; border: none; padding: 12px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 100%; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.afon-btn-save:hover { background: #b02a2c; }

/* --- Global Variables & Containers --- */
:root { 
    --res-primary: #004085; 
    --res-primary-hover: #b02a2c;
    --res-bg-light: #fff9f9;
    --res-dark: #1d2327;    
    --res-border: #ccd0d4; 
}

.afon-wrap { margin-top: 20px; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }

/* --- Table & Directory Layout --- */
.afon-extras-table { border: 1px solid var(--res-border); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-top: 20px; border-collapse: separate; width: 100%; }
.afon-extras-table thead th { background: #fafafa; padding: 15px; font-weight: 700; color: #50575e; border-bottom: 2px solid #f0f0f1; text-transform: uppercase; font-size: 11px; }
.afon-extras-table td { padding: 15px; vertical-align: middle; border-bottom: 1px solid #f0f0f1; }

/* --- Thumbnails & Visuals --- */
.afon-extra-img { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; border: 1px solid #eee; }
.afon-extra-no-img { width: 45px; height: 45px; border-radius: 8px; background: #f6f7f7; display: flex; align-items: center; justify-content: center; color: #c3c4c7; border: 1px solid #eee; }

/* --- Status Badges & Pricing --- */
.afon-badge-qty { background: #f0f0f1; color: var(--res-dark); padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; border: 1px solid #dcdcde; display: inline-block; }
.afon-badge-out { background: var(--res-bg-light); color: var(--res-primary); border-color: #f5c2c2; }
.afon-price-text { font-weight: 700; color: var(--res-primary); font-size: 15px; }
.afon-id-code { background: none; padding: 0; color: #a7aaad; font-size: 11px; }

/* --- SaaS Action Buttons --- */
.afon-text-right { text-align: right; display: flex !important; justify-content: flex-end; gap: 8px; }
.afon-btn-action { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; border: 1px solid #dcdcde; background: #fff; color: #2c3338; cursor: pointer; white-space: nowrap; }
.afon-btn-action .dashicons { font-size: 17px; width: 17px; height: 17px; line-height: 1; }
.afon-btn-action:hover { border-color: var(--res-primary); color: var(--res-primary); background: var(--res-bg-light); }

.afon-btn-danger .dashicons { color: var(--res-primary); }
.afon-btn-danger:hover { color: #fff !important; border-color: var(--res-primary) !important; background: var(--res-primary) !important; }
.afon-btn-danger:hover .dashicons { color: #fff !important; }

/* --- Add/Edit Configuration Layout --- */
.afon-extra-wrapper { display: grid; grid-template-columns: 1fr 300px; gap: 30px; max-width: 1100px; margin: 20px 0; }
.afon-conf-card { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.04); overflow: hidden; }
.afon-conf-header { padding: 20px 25px; border-bottom: 1px solid #f0f0f1; }
.afon-conf-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--res-dark); }
.afon-conf-body { padding: 25px; }

/* Form Controls */
.afon-form-row { margin-bottom: 20px; }
.afon-form-row label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--res-dark); }
.afon-input-modern { width: 100%; padding: 10px 15px; border: 1px solid #dcdcde; border-radius: 8px; font-size: 14px; transition: 0.2s; box-sizing: border-box; }
.afon-input-modern:focus { border-color: var(--res-primary); outline: none; box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.1); }

/* Sidebar & Save */
.afon-summary-box { background: #f8f9fa; border-radius: 12px; padding: 20px; border: 1px solid #dcdcde; position: sticky; top: 50px; }
.afon-btn-save { background: var(--res-primary); color: #fff; border: none; padding: 14px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; width: 100%; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.afon-btn-save:hover { background: var(--res-primary-hover); }

/* --- DataTables Overrides --- */
.dataTables_wrapper .dataTables_filter { float: none; text-align: left; }
.dataTables_wrapper .dataTables_filter input { border: 1px solid #c3c4c7; border-radius: 6px; padding: 8px 12px; margin-bottom: 20px; width: 280px; box-sizing: border-box; }
.dataTables_wrapper .dataTables_filter input:focus { border-color: var(--res-primary); outline: none; box-shadow: 0 0 0 1px var(--res-primary); }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--res-primary) !important; color: #fff !important; border: 1px solid var(--res-primary) !important; border-radius: 4px; }

/* View Page Layout */
.afon-view-header { padding: 20px 25px; border-bottom: 1px solid #f0f0f1; display: flex; justify-content: space-between; align-items: center; }
.afon-id-badge { background: #f0f0f1; color: #646970; padding: 4px 12px; border-radius: 4px; font-family: monospace; font-size: 13px; }
.afon-view-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }

/* Visual Asset Area */
.afon-view-image-container { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; overflow: hidden; margin-bottom: 15px; }
.afon-view-main-img { width: 100%; height: auto; display: block; }
.afon-view-no-image { height: 240px; background: #f6f7f7; border: 2px dashed #dcdcde; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #a7aaad; }
.afon-view-no-image .dashicons { font-size: 50px; width: 50px; height: 50px; margin-bottom: 10px; }

/* Data Display */
.afon-label-muted { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #8c8f94; margin-bottom: 8px; font-weight: 600; }
.afon-data-value-large { font-size: 22px; font-weight: 700; color: #1d2327; }
.afon-data-divider { border-top: 1px solid #f0f0f1; margin: 25px 0; }
.afon-data-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.afon-price-display { font-size: 28px; font-weight: 800; color: #004085; }
.afon-view-badge { font-size: 14px; padding: 8px 16px; display: inline-block; }

/* Sidebar & Buttons */
.afon-sidebar-title { margin-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #1d2327; }
.afon-btn-block { display: block; text-align: center; margin-bottom: 12px; box-sizing: border-box; width: 100%; text-decoration: none; }
.afon-btn-full { width: 100%; justify-content: center; box-sizing: border-box; }
.afon-sidebar-info { margin-top: 20px; border-top: 1px solid #dcdcde; padding-top: 15px; font-size: 12px; color: #646970; line-height: 1.6; }

/* --- Orders Directory Layout --- */
.afon-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.afon-page-title { margin: 0; font-weight: 700; }
.afon-orders-table { border: 1px solid #ccd0d4; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.05); border-collapse: separate; }
.afon-orders-table thead th { background: #fafafa; padding: 15px; font-weight: 700; color: #50575e; border-bottom: 2px solid #f0f0f1; text-transform: uppercase; font-size: 11px; }
.afon-orders-table td { padding: 15px; vertical-align: middle; border-bottom: 1px solid #f0f0f1; }

/* --- Item Styling --- */
.afon-id-text { color: #1d2327; font-size: 14px; }
.afon-customer-name { font-weight: 700; color: #1d2327; }
.afon-qty-badge { background: #f0f0f1; color: #1d2327; font-weight: 700; font-size: 11px; padding: 2px 6px; border-radius: 4px; margin-right: 8px; border: 1px solid #dcdcde; }
.afon-item-row { display: flex; align-items: center; padding: 4px 0; border-bottom: 1px dashed #eee; }
.afon-item-row:last-child { border-bottom: none; }
.afon-more-items { color: #004085; font-weight: 600; display: block; margin-top: 5px; }

/* --- Status Badges --- */
.afon-status-badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; border: 1px solid transparent; }
.afon-status-pending    { background: #fcf9e8; color: #856404; border-color: #ffeeba; }
.afon-status-completed  { background: #e7f4e4; color: #1e4620; border-color: #c3e6cb; }
.afon-status-cancelled  { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.afon-status-processing { background: #e7f5fe; color: #004085; border-color: #b8daff; }

/* --- Action Buttons --- */
.afon-text-right { text-align: right; display: flex !important; justify-content: flex-end; gap: 8px; }
.afon-btn-action { padding: 6px 12px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; border: 1px solid #dcdcde; background: #fff; color: #2c3338; white-space: nowrap; }
.afon-btn-action:hover { border-color: #004085; color: #004085; background: #fff9f9; }
.afon-btn-action .dashicons { font-size: 17px; width: 17px; height: 17px; }

.afon-btn-print { background: #004085; color: #fff; border-color: #004085; }
.afon-btn-print:hover { background: #b52b2d; color: #fff; border-color: #b52b2d; }
.afon-btn-print .dashicons { color: #fff !important; }

/* Order Edit Specifics */
.afon-notice-red { border-left-color: #004085 !important; }
.afon-main-col { flex: 1; }
.afon-edit-table { margin-top: 0; border: none; box-shadow: none; border-radius: 0; }
.afon-edit-table thead th { border-top: 1px solid #f0f0f1; }
.afon-item-row-edit td { padding: 10px 15px; }

/* Readonly fields */
.afon-readonly { background-color: #f6f7f7 !important; color: #646970 !important; cursor: not-allowed; }

/* Totals Footer */
.afon-footer-totals { background: #fff9f9; padding: 25px; border-top: 1px solid #f5c2c2; text-align: right; }
.afon-total-input { border: none !important; background: transparent !important; font-weight: 800; color: #004085; width: 120px; text-align: right; font-size: 28px; pointer-events: none; outline: none !important; box-shadow: none !important; }
.afon-currency { font-size: 28px; font-weight: 800; color: #004085; }

/* Sidebar UI */
.afon-status-select { font-weight: 700; cursor: pointer; }

/* View Order Specifics */
.afon-view-table { margin: 0; border: none; box-shadow: none; }
.afon-view-table thead th { border-top: 1px solid #f0f0f1; padding: 12px 20px; }
.afon-view-table td { padding: 15px 20px; }

.afon-text-center { text-align: center; }
.afon-text-muted { color: #a7aaad; }
.afon-item-name-bold { font-weight: 700; color: #1d2327; }
.afon-subtotal-val { font-weight: 700; color: #1d2327; }

/* Notes Box */
.afon-notes-box { font-size: 15px; line-height: 1.6; color: #3c434a; background: #fcf9e8; padding: 15px; border-left: 4px solid #f2dbb3; border-radius: 2px; }
.afon-text-empty { color: #a7aaad; font-style: italic; margin: 0; }

/* Sidebar View Components */
.afon-status-full { width: 100%; text-align: center; box-sizing: border-box; padding: 8px; font-size: 12px; margin-bottom: 20px; }
.afon-info-grid { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: center; margin-bottom: 15px; }
.afon-data-value { font-weight: 700; color: #1d2327; font-size: 13px; }
.afon-sidebar-divider { border-top: 1px solid #f0f0f1; margin: 15px 0; }

/* Address Card */
.afon-address-card { margin-top: 15px; padding: 15px; background: #f6f7f7; border-radius: 6px; border: 1px solid #eee; }
.afon-label-muted-small { display: block; margin-bottom: 8px; font-size: 10px; text-transform: uppercase; color: #8c8f94; font-weight: 700; }
.afon-address-text { font-weight: 500; line-height: 1.5; font-size: 13px; color: #1d2327; margin: 0; }
.afon-text-primary { color: #004085; }



/* Shortcode */

.ahbn-sc-wrap { max-width: 1100px; margin: 30px 0; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.ahbn-sc-header { margin-bottom: 40px; }
.ahbn-sc-header h2 { font-size: 28px; font-weight: 800; color: #1d2327; margin: 0; }
.ahbn-sc-header p { font-size: 16px; color: #646970; margin-top: 8px; }

.ahbn-sc-section-title { 
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; 
    color: #2271b1; margin: 40px 0 20px; display: flex; align-items: center; gap: 10px;
}
.ahbn-sc-section-title::after { content: ""; flex-grow: 1; height: 1px; background: #dce6f0; }

.ahbn-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

.ahbn-sc-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; position: relative; }
.ahbn-sc-card:hover { border-color: #2271b1; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(34,113,177,0.1); }

.ahbn-sc-title { font-weight: 700; color: #1d2327; margin-bottom: 10px; display: block; font-size: 16px; }
.ahbn-sc-desc { color: #646970; font-size: 14px; margin-bottom: 20px; line-height: 1.6; min-height: 45px; }

.ahbn-sc-copy-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; }
.ahbn-sc-code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-weight: 600; color: #2271b1; font-size: 14px; background: transparent; padding: 0; }

.ahbn-copy-btn { background: #fff; border: 1px solid #ccd0d4; color: #2c3338; cursor: pointer; padding: 6px; border-radius: 6px; transition: 0.2s; display: flex; align-items: center; }
.ahbn-copy-btn:hover { border-color: #2271b1; color: #2271b1; background: #f0f6fb; }

.ahbn-sc-footer { margin-top: 15px; font-size: 12px; color: #a7aaad; font-weight: 500; }
.ahbn-sc-footer span { color: #1d2327; font-weight: 700; }

.ahbn-copy-toast { 
    position: fixed; bottom: 30px; right: 30px; background: #1d2327; color: #fff; 
    padding: 12px 25px; border-radius: 50px; opacity: 0; pointer-events: none; 
    z-index: 9999; box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: opacity 0.3s ease;
}
.ahbn-copy-toast.is-active { opacity: 1; }


/* Container & Layout */
.ahbn-admin-container {
    max-width: 1000px;
    margin: 20px 20px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Header & Buttons */
.ahbn-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.ahbn-header h1 { font-weight: 800; font-size: 24px; margin: 0; color: #1d2327; }
.ahbn-header p { margin: 5px 0 0; color: #646970; }

.ahbn-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ahbn-btn-primary {
    background: #2271b1;
    color: white;
}
.ahbn-btn-primary:hover { background: #135e96; transform: translateY(-1px); }

/* Navigation */
.ahbn-nav-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: -1px; /* Overlap border */
    position: relative;
    z-index: 2;
}

.ahbn-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    color: #646970;
    background: #e2e8f0;
    border-radius: 10px 10px 0 0;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #ccd0d4;
    border-bottom: none;
}

.ahbn-nav-item:hover { color: #2271b1; background: #f0f6fb; }

.ahbn-nav-item.is-active {
    background: #96672b;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}

.ahbn-nav-item .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* Main Card */
.ahbn-content-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 0 12px 12px 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

:root { 
    --ahbn-indigo: #96672b; 
    --ahbn-grad: linear-gradient(135deg, #96672b 0%, #7c3aed 100%);
    --ahbn-dark: #1e293b;
    --ahbn-slate: #64748b;
    --ahbn-border: #e2e8f0;
}

.ahbn-dash-wrapper { max-width: 1150px; margin: 30px 20px 0 0; font-family: 'Inter', -apple-system, sans-serif; }

/* Hero */
.ahbn-hero { 
    background: var(--ahbn-grad); border-radius: 24px; padding: 45px; color: #fff; 
    margin-bottom: 35px; display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12); position: relative; overflow: hidden;
}
.ahbn-hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 180px; height: 180px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.ahbn-hero-title { color: #fff !important; margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.ahbn-hero-subtitle { opacity: 0.9; margin: 10px 0 0; font-size: 16px; }

/* Stats */
.ahbn-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.ahbn-stat-card { background: #fff; padding: 28px; border-radius: 20px; border: 1px solid var(--ahbn-border); transition: 0.3s; }
.ahbn-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0,0,0,0.04); }
.ahbn-stat-label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.ahbn-stat-value { display: block; font-size: 32px; font-weight: 900; color: var(--ahbn-dark); margin-top: 8px; }
.ahbn-unit { font-size: 14px; color: #10b981; }
.ahbn-text-danger { color: #ef4444 !important; }

/* Rows */
.ahbn-row { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 16px; padding: 18px 24px; margin-bottom: 12px; display: flex; align-items: center; transition: 0.2s; }
.ahbn-row:hover { border-color: var(--ahbn-indigo); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.05); }
.ahbn-icon-box { width: 44px; height: 44px; background: #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ahbn-indigo); }
.ahbn-info { flex-grow: 1; padding-left: 18px; }
.ahbn-info-name { display: block; font-size: 15px; color: var(--ahbn-dark); }
.ahbn-info-meta { font-size: 13px; color: var(--ahbn-slate); }
.ahbn-price { font-weight: 800; font-size: 17px; color: var(--ahbn-indigo); margin-right: 25px; }

/* Buttons & UI */
.ahbn-btn-add { background:#fff; color:var(--ahbn-indigo); border:none; font-weight:800; padding:12px 25px; border-radius:12px; text-decoration: none; }
.ahbn-btn-review { background: var(--ahbn-dark); color: #fff !important; padding: 10px 20px; border-radius: 10px; text-decoration: none !important; font-weight: 700; font-size: 12px; transition: 0.2s; }
.ahbn-btn-review:hover { background: var(--ahbn-indigo); }
.ahbn-pulse { background: #fdf2f2; color: #ef4444; padding: 5px 12px; border-radius: 8px; font-size: 10px; font-weight: 800; animation: ahbn-fade 2s infinite; margin-right: 15px; }
@keyframes ahbn-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.ahbn-empty-state { background:#fff; padding:50px; border-radius:24px; text-align:center; border:2px dashed var(--ahbn-border); }
.ahbn-empty-state span { font-size:40px; width:40px; height:40px; color:#10b981; }

:root { 
    --ahbn-primary: #96672b; 
    --ahbn-dark: #1d2327;    
    --ahbn-border: #ccd0d4; 
    --ahbn-danger: #d63638;
}

.ahbn-dashboard-container { margin-top: 20px; }
.ahbn-table { border: 1px solid var(--ahbn-border) !important; border-radius: 8px; background: #fff; }
.ahbn-table thead th { background: #fafafa; padding: 15px !important; font-weight: 700; color: #50575e; border-bottom: 2px solid #f0f0f1 !important; text-transform: uppercase; font-size: 11px; }

/* Assets */
.ahbn-car-img { border-radius: 6px; border: 1px solid #eee; object-fit: cover; width: 60px; height: 45px; }
.ahbn-no-img { width: 60px; height: 45px; border-radius: 6px; background: #f6f7f7; display: flex; align-items: center; justify-content: center; color: #c3c4c7; border: 1px solid #eee; }

/* Typography */
.ahbn-car-title { font-size: 15px; color: var(--ahbn-dark); display: block; }
.ahbn-vin-label { color: #a7aaad; font-size: 11px; }
.ahbn-price-tag { font-size: 16px; font-weight: 700; color: var(--ahbn-primary); }
.ahbn-text-muted { color: #a7aaad; }

/* Badges */
.ahbn-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; border: 1px solid transparent; margin-bottom: 2px; }
.ahbn-cat-badge { background: #f0f6fb; color: var(--ahbn-primary); border-color: #d1e4f7; }
.ahbn-spec-badge { background: #f8fafc; color: #475569; border-color: #e2e8f0; }
.ahbn-spec-badge .dashicons { font-size: 14px; width: 14px; height: 14px; }

/* Actions */
.ahbn-btn-group { display: flex; justify-content: flex-end; gap: 5px; }
.ahbn-btn { padding: 6px 10px; border-radius: 6px; border: 1px solid #dcdcde; background: #fff; color: #2c3338; transition: 0.2s; }
.ahbn-btn:hover { border-color: var(--ahbn-primary); color: var(--ahbn-primary); background: #f0f6fb; }
.ahbn-btn-danger:hover { color: #fff; border-color: var(--ahbn-danger); background: var(--ahbn-danger); }
.ahbn-btn-danger .dashicons { color: var(--ahbn-danger); }
.ahbn-btn-danger:hover .dashicons { color: #fff; }

/* DataTables Overrides */
.dataTables_wrapper .dataTables_filter input { border: 1px solid #c3c4c7; border-radius: 4px; padding: 8px 12px; margin-bottom: 15px; width: 250px; }

:root { 
    --ahbn-main: #96672b; 
    --ahbn-border: #e5e7eb; 
    --ahbn-bg-light: #f9fafb;
}

.ahbn-editor-wrap { margin: 20px; max-width: 1200px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Layout Grid */
.ahbn-flex-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.ahbn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Panels */
.ahbn-panel { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
.ahbn-panel-head { padding: 15px 20px; border-bottom: 1px solid #f3f4f6; background: #fafafa; }
.ahbn-panel-head h3 { margin: 0; font-size: 11px; text-transform: uppercase; color: #6b7280; letter-spacing: 1px; font-weight: 700; }
.ahbn-panel-body { padding: 20px; }

/* Inputs */
.ahbn-field-hero { width: 100%; border: 1px solid var(--ahbn-border); border-radius: 8px; font-size: 18px; padding: 12px; margin-bottom: 20px; box-sizing: border-box; }
.ahbn-label { display: block; font-size: 11px; font-weight: 700; color: #374151; margin-bottom: 8px; text-transform: uppercase; }
.ahbn-select-full { height:45px; border-radius:8px; width: 100%; border-color: var(--ahbn-border); }
.ahbn-input-price { font-size: 18px !important; font-weight: 700 !important; padding: 10px !important; width: 100%; border-radius: 8px !important; }

/* Dynamic Rows */
.ahbn-dynamic-row { display: flex; align-items: center; gap: 12px; background: var(--ahbn-bg-light); padding: 10px; border-radius: 10px; border: 1px solid var(--ahbn-border); margin-bottom: 8px; }
.ahbn-row-label { flex: 1; font-size: 12px; font-weight: 500; }
.ahbn-input-small { width: 85px; border: 1px solid #ddd; padding: 4px; border-radius: 4px; }

/* Switch Toggle */
.ahbn-switch { position: relative; display: inline-block; width: 34px; height: 18px; flex-shrink: 0; }
.ahbn-switch input { opacity: 0; width: 0; height: 0; }
.ahbn-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; }
.ahbn-slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .ahbn-slider { background-color: var(--ahbn-main); }
input:checked + .ahbn-slider:before { transform: translateX(16px); }

/* Gallery */
.ahbn-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; margin-top: 15px; }
.ahbn-gallery-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid #ddd; }
.ahbn-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.ahbn-gallery-remove { position: absolute; top: 2px; right: 2px; background: rgba(220, 38, 38, 0.9); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: 12px; line-height: 18px; text-align: center; cursor: pointer; }

/* Utilities */
.ahbn-text-indigo { color: var(--ahbn-main); }
.ahbn-mt-15 { margin-top: 15px; }
.ahbn-btn-full { width: 100%; }
.ahbn-submit-btn { width: 100% !important; height: 50px !important; background: var(--ahbn-main) !important; border-radius: 8px !important; font-weight: 700 !important; border: none !important; }


:root { 
    --ahbn-primary: #96672b; 
    --ahbn-dark: #1e293b;    
    --ahbn-border: #e2e8f0; 
    --ahbn-bg: #f8fafc;
}

.ahbn-dashboard { margin: 20px 20px 0 0; font-family: 'Inter', -apple-system, sans-serif; }

.ahbn-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.ahbn-main-title { font-size: 28px !important; font-weight: 800 !important; color: var(--ahbn-dark); margin:0 !important; }
.ahbn-sub-title { margin: 5px 0 0; color: #64748b; font-size: 14px; }

/* Table Styling */
#ahbn-bookings-table { 
    border: 1px solid var(--ahbn-border); 
    border-radius: 12px; 
    overflow: hidden; 
    background: #fff; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.05); 
    border-collapse: separate; 
    border-spacing: 0;
    width: 100%; 
}

#ahbn-bookings-table thead th { 
    background: #f1f5f9; 
    padding: 18px 15px; 
    font-weight: 700; 
    color: #475569; 
    border-bottom: 2px solid var(--ahbn-border); 
    text-transform: uppercase; 
    font-size: 11px; 
}

#ahbn-bookings-table td { padding: 16px 15px; vertical-align: middle; border-bottom: 1px solid #f1f5f9; }

/* Components */
.ahbn-id-badge { background: #f1f5f9; color: var(--ahbn-dark); padding: 5px 10px; border-radius: 6px; font-family: monospace; font-weight: 700; }
.ahbn-client-name { font-size: 14px; color: var(--ahbn-dark); }
.ahbn-client-email { color: #64748b; font-size: 12px; }
.ahbn-price-display { font-size: 16px; color: var(--ahbn-primary); }
.ahbn-car-title { font-weight: 700; color: var(--ahbn-dark); }
.ahbn-ref-tag { font-size: 11px; color: #94a3b8; }

/* Status Badges */
.ahbn-status { display: inline-block; padding: 6px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fffbeb; color: #92400e; border: 1px solid #fef3c7; }
.status-confirmed { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.status-cancelled { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Actions */
.ahbn-actions-group { display: flex; gap: 5px; justify-content: flex-end; }
.ahbn-btn { 
    padding: 8px 12px; border-radius: 8px; text-decoration: none; 
    display: inline-flex; align-items: center; transition: 0.2s; 
    border: 1px solid #e2e8f0; background: #fff; color: #475569; 
}
.ahbn-btn:hover { border-color: var(--ahbn-primary); color: var(--ahbn-primary); background: #f5f3ff; }
.ahbn-text-right { text-align: right !important; }

/* DataTable Search Overrides */
.dataTables_wrapper .dataTables_filter { float: left; margin-bottom: 20px; }
.dataTables_wrapper .dataTables_filter input { 
    border: 1px solid #cbd5e1 !important; border-radius: 8px !important; 
    padding: 10px 15px !important; width: 350px !important; background: #fff !important;
}

.ahbn-saas-container { 
    font-family: 'Inter', -apple-system, sans-serif; 
    color: #1e293b; 
    margin: 20px 20px 0 0; 
}

/* Nav & Hero */
.ahbn-top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ahbn-nav-actions { display: flex; gap: 12px; }

.ahbn-booking-hero {
    padding: 32px; background: white; border: 1px solid #e2e8f0;
    border-radius: 16px; margin-bottom: 24px; display: flex;
    justify-content: space-between; align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.ahbn-title-stack { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ahbn-customer-title { margin:0 !important; font-size: 28px !important; font-weight: 800 !important; letter-spacing: -0.5px; }
.ahbn-id-pill { background: #f1f5f9; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; color: #64748b; }
.ahbn-total-label { font-size: 11px; color: #64748b; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.ahbn-total-amount { font-size: 32px; font-weight: 800; color: #96672b; line-height: 1; margin-bottom: 12px; }

/* Status Badges */
.ahbn-badge { padding: 6px 16px; border-radius: 99px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #dcfce7; color: #166534; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* Grid & Cards */
.ahbn-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.ahbn-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 24px; overflow: hidden; }
.ahbn-card-header { padding: 18px 24px; border-bottom: 1px solid #f1f5f9; }
.ahbn-card-header h3 { margin: 0 !important; font-size: 15px !important; font-weight: 700 !important; color: #0f172a; display: flex; align-items: center; gap: 8px; }

/* Timeline */
.ahbn-timeline { padding: 24px; }
.timeline-item { display: flex; gap: 20px; position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: #f1f5f9; }
.timeline-item:last-child::before { display: none; }
.timeline-icon { width: 28px; height: 28px; background: #96672b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; z-index: 1; }
.timeline-icon-return { background: #ef4444; }
.timeline-label { font-size: 11px; color: #64748b; font-weight: 800; text-transform: uppercase; }
.timeline-date { font-size: 18px; font-weight: 700; margin: 4px 0; }
.timeline-loc { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.pickup-text { color: #96672b; }
.return-text { color: #ef4444; }

/* Details */
.detail-row { display: flex; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid #f8fafc; }
.detail-label { color: #64748b; font-size: 14px; font-weight: 500; }
.detail-value { font-weight: 600; color: #1e293b; font-size: 14px; }
.payment-highlight { background: #f8fafc; }
.ahbn-pay-badge { background: #96672b; color: white; padding: 4px 10px; border-radius: 6px; font-size: 12px; }
.ahbn-notes-body { padding: 24px; color: #475569; line-height: 1.6; font-size: 14px; }

/* Vehicle Right Col */
.ahbn-vehicle-info { padding: 24px; text-align: center; }
.ahbn-vehicle-img { width: 100%; border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-bottom: 20px; }
.ahbn-vehicle-placeholder { width:100%; height:140px; background:#f1f5f9; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.ahbn-vehicle-placeholder span { font-size:60px; color:#cbd5e1; width: 60px; height: 60px; }
.ahbn-vehicle-name { margin:0 !important; font-size: 18px !important; font-weight: 800; color: #1e293b; }
.ahbn-vehicle-ref { color: #64748b; font-size: 13px; margin-top: 6px; }

/* CRM Actions */
.ahbn-crm-actions { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.center-btn { justify-content: center; }
.whatsapp-link { color: #25d366 !important; }
.text-success { color: #10b981; }

/* General Buttons */
.btn-saas { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; transition: 0.2s; cursor: pointer; }
.btn-primary { background: #96672b; color: white; border: none; }
.btn-primary:hover { background: #4338ca; color: white; }
.btn-secondary { background: white; border: 1px solid #e2e8f0; color: #475569; }
.btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; }

@media print {
    .ahbn-top-nav, .ahbn-right-col .ahbn-card:last-child { display: none !important; }
    .ahbn-saas-container { margin: 0; padding: 0; }
    .ahbn-card { border: 1px solid #000; }
}

:root { 
    --ahbn-brand: #96672b; 
    --ahbn-bg: #f8fafc;
    --ahbn-text: #1e293b;
    --ahbn-border: #e2e8f0;
}

.ahbn-saas-edit { font-family: 'Inter', -apple-system, sans-serif; color: var(--ahbn-text); margin-right: 20px; }

/* Header */
.ahbn-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.ahbn-header-title { font-weight: 800 !important; font-size: 24px !important; margin: 0 !important; }
.ahbn-header-sub { color: #64748b; margin: 5px 0 0; }
.ahbn-back-link { text-decoration: none; color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* Grid */
.ahbn-grid-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }

/* Panels */
.ahbn-panel { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); margin-bottom: 24px; }
.ahbn-panel-head { padding: 18px 24px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: 10px; }
.ahbn-panel-head h2 { margin: 0 !important; font-size: 14px !important; font-weight: 700 !important; color: #475569 !important; text-transform: uppercase; letter-spacing: 0.5px; }
.ahbn-panel-body { padding: 24px; }

/* Forms */
.ahbn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ahbn-label { display: block; font-weight: 600; font-size: 13px; color: #475569; margin-bottom: 8px; }
.ahbn-field { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 14px; font-size: 14px; transition: 0.2s; background: #fff; }
.ahbn-field:focus { border-color: var(--ahbn-brand); outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }

/* Pricing Table */
.ahbn-price-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.ahbn-price-table th { text-align: left; font-size: 11px; color: #94a3b8; text-transform: uppercase; padding-bottom: 10px; }
.ahbn-price-table td { padding: 12px 0; border-top: 1px solid #f1f5f9; vertical-align: middle; }
.ahbn-subtotal-text { font-size: 15px; }

/* Grand Total Box */
.ahbn-grand-total-wrapper { margin-top: 30px; }
.ahbn-grand-total-box { background: #f8fafc; border-radius: 8px; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.ahbn-total-label { font-weight: 600; color: #64748b; }
.ahbn-total-input-group { display: flex; align-items: center; }
.ahbn-total-currency { font-size: 24px; font-weight: 800; color: var(--ahbn-brand); }
.ahbn-total-input { border: none !important; background: transparent !important; text-align: right; width: 150px !important; font-weight: 800 !important; color: var(--ahbn-brand) !important; font-size: 24px !important; outline: none; box-shadow: none !important; }

/* Sidebar & Buttons */
.ahbn-sidebar-sticky { position: sticky; top: 50px; }
.ahbn-btn-save { width: 100%; background: var(--ahbn-brand); color: #fff; border: none; padding: 14px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.2s; font-size: 14px; }
.ahbn-btn-save:hover { background: #4338ca; transform: translateY(-1px); }

/* Helpers */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pr-15 { padding-right: 15px; }
.text-right { text-align: right; }
.ahbn-notice-brand { border-left-color: var(--ahbn-brand) !important; }

/**
 * AHBN Category List Styles
 */
:root { 
    --ahbn-primary: #2271b1; 
    --ahbn-dark: #1d2327;    
    --ahbn-border: #ccd0d4; 
    --ahbn-bg-alt: #fafafa;
}

.ahbn-main-wrapper { margin-top: 25px; max-width: 1200px; }

/* Header Layout */
.ahbn-header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 25px; 
    border-bottom: 1px solid #dcdcde; 
    padding-bottom: 15px; 
}

.ahbn-page-title { font-weight: 700 !important; margin: 0 !important; }
.ahbn-page-subtitle { color: #646970; margin: 5px 0 0; }
.ahbn-btn-add { background: var(--ahbn-primary) !important; border-color: var(--ahbn-primary) !important; font-weight: 600 !important; height: 36px !important; padding: 0 20px !important; line-height: 34px !important; }

/* Table Styling */
#ahbn-category-table { border: 1px solid var(--ahbn-border); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.05); border-collapse: collapse; }
#ahbn-category-table thead th { background: var(--ahbn-bg-alt); padding: 15px; font-weight: 700; color: #50575e; border-bottom: 2px solid #f0f0f1; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; }
#ahbn-category-table td { padding: 15px; vertical-align: middle; border-bottom: 1px solid #f0f0f1; }

/* Column Controls */
.ahbn-col-icon { width: 70px; }
.ahbn-col-actions { width: 180px; text-align: right !important; }
.ahbn-actions-cell { text-align: right; }

/* Thumbnails */
.ahbn-cat-thumb { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; border: 1px solid #e5e5e5; background: #fff; }
.ahbn-cat-no-img { width: 50px; height: 50px; border-radius: 6px; background: #f6f7f7; display: flex; align-items: center; justify-content: center; color: #c3c4c7; border: 1px solid #eee; }

/* Row Content */
.ahbn-term-name { font-size: 15px; color: var(--ahbn-dark); }
.ahbn-term-meta { background: none; padding: 0; color: #a7aaad; font-size: 11px; }

/* Action Buttons */
.ahbn-btn { padding: 6px 14px; border-radius: 4px; text-decoration: none; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; border: 1px solid #dcdcde; background: #fff; color: #2c3338; }
.ahbn-btn:hover { border-color: var(--ahbn-primary); color: var(--ahbn-primary); background: #f0f6fb; }
.ahbn-btn-danger:hover { color: #d63638; border-color: #d63638; background: #fff5f5; }
.ahbn-btn .dashicons { font-size: 15px; margin-top: 4px; }

/* Badges */
.ahbn-count-badge { background: #f0f6fb; color: var(--ahbn-primary); font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: 12px; border: 1px solid #c3d4e5; }

/* DataTable Overrides */
.dataTables_wrapper .dataTables_filter { float: none; text-align: left; }
.dataTables_wrapper .dataTables_filter input { border: 1px solid #c3c4c7; border-radius: 6px; padding: 8px 12px; margin-bottom: 25px; width: 320px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.dataTables_wrapper .dataTables_filter input:focus { border-color: var(--ahbn-primary); box-shadow: 0 0 0 1px var(--ahbn-primary); outline: none; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current { background: var(--ahbn-primary) !important; color: #fff !important; border: 1px solid var(--ahbn-primary) !important; border-radius: 4px; }
.ahbn-admin-notice { border-left-color: var(--ahbn-primary) !important; }

/**
 * AHBN Category Form Styles
 */
.ahbn-form-wrap { max-width: 600px; margin: 40px auto; }
.ahbn-form-card { background: #fff; border-radius: 12px; border: 1px solid #ccd0d4; box-shadow: 0 4px 20px rgba(0,0,0,0.07); overflow: hidden; }

/* Header */
.ahbn-form-header { padding: 30px; border-bottom: 1px solid #f0f0f1; background: #fff; text-align: center; }
.ahbn-form-title { margin: 0 !important; font-size: 22px !important; font-weight: 700 !important; color: #1d2327; }
.ahbn-form-subtitle { margin: 8px 0 0; color: #646970; font-size: 14px; }

/* Body & Inputs */
.ahbn-form-body { padding: 35px; }
.ahbn-form-group { margin-bottom: 25px; }
.ahbn-form-label { display: block; font-weight: 600; margin-bottom: 10px; color: #1d2327; font-size: 14px; }
.ahbn-form-input { width: 100%; padding: 12px 15px; border: 1px solid #ccd0d4; border-radius: 8px; font-size: 16px; transition: 0.2s; }
.ahbn-form-input:focus { border-color: #2271b1; outline: none; box-shadow: 0 0 0 2px rgba(34,113,177,0.1); }

/* Dropzone / Upload */
.ahbn-upload-dropzone { 
    border: 2px dashed #ccd0d4; border-radius: 12px; padding: 40px; text-align: center; 
    cursor: pointer; transition: 0.3s; background: #f9f9f9; 
}
.ahbn-upload-dropzone:hover { border-color: #2271b1; background: #f0f7ff; }
.ahbn-preview-img { max-width: 180px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ahbn-upload-icon { font-size: 48px; width: 48px; height: 48px; color: #ccd0d4; margin-bottom: 10px; }

.ahbn-upload-hint-main { margin: 0; color: #646970; font-weight: 600; }
.ahbn-upload-hint-sub { margin: 5px 0 0; color: #a7aaad; font-size: 11px; }
.ahbn-upload-hint-active { margin-top: 15px; font-size: 12px; color: #2271b1; font-weight: 600; }

/* Footer */
.ahbn-form-footer { padding: 25px 35px; background: #fafafa; border-top: 1px solid #f0f0f1; display: flex; justify-content: space-between; align-items: center; }
.ahbn-btn-submit { background: #2271b1; color: #fff; border: none; padding: 14px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 15px; }
.ahbn-btn-submit:hover { background: #135e96; }
.ahbn-link-cancel { color: #646970; text-decoration: none; font-size: 14px; }
.ahbn-link-cancel:hover { color: #2271b1; }


:root { 
    --ahbn-indigo: #96672b; 
    --ahbn-border: #e5e7eb; 
    --ahbn-bg: #f9fafb; 
    --ahbn-dark: #1e293b; 
}

.ahbn-extras-container { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1250px; margin-top: 10px; }
.ahbn-card { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.ahbn-card-title { margin: 0 0 15px 0 !important; color: var(--ahbn-dark); font-size: 16px !important; font-weight: 700 !important; display: flex; align-items: center; gap: 8px; }
.ahbn-card-full { grid-column: span 2; }

.ahbn-row { display: flex; gap: 10px; align-items: center; background: var(--ahbn-bg); padding: 12px; border-radius: 10px; border: 1px solid var(--ahbn-border); margin-bottom: 12px; position: relative; transition: 0.2s; }
.ahbn-row:hover { border-color: #d1d5db; background: #f3f4f6; }

.ahbn-icon-box { width: 40px; height: 40px; background: #fff; border: 1px solid var(--ahbn-border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ahbn-indigo); cursor: pointer; flex-shrink: 0; transition: 0.2s; }
.ahbn-icon-box:hover { border-color: var(--ahbn-indigo); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }

.ahbn-icon-dropdown { position: absolute; top: 60px; left: 12px; width: 350px; background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); z-index: 1000; padding: 12px; display: none; }
.ahbn-icon-dropdown.is-open { display: block; animation: acrbPop 0.2s ease-out; }

.ahbn-icon-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ahbn-icon-opt { padding: 8px; cursor: pointer; text-align: center; color: #64748b; border-radius: 6px; transition: 0.15s; }
.ahbn-icon-opt:hover { background: #eef2ff; color: var(--ahbn-indigo); transform: scale(1.1); }

.ahbn-field { border: 1px solid var(--ahbn-border) !important; border-radius: 8px !important; padding: 8px 12px !important; font-size: 13px !important; color: var(--ahbn-dark) !important; height: 38px !important; box-shadow: none !important; }
.ahbn-field:focus { border-color: var(--ahbn-indigo) !important; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important; outline: none; }

.ahbn-w-130 { width: 130px; }
.ahbn-w-150 { width: 150px; }
.ahbn-w-200 { width: 200px; }
.ahbn-flex-1 { flex: 1; }

.ahbn-remove-btn { color: #94a3b8; cursor: pointer; margin-left: 5px; transition: 0.2s; }
.ahbn-remove-btn:hover { color: #ef4444; }

.ahbn-add-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; color: var(--ahbn-indigo); font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: 8px; background: #f5f3ff; font-size: 13px; transition: 0.2s; }
.ahbn-add-link:hover { background: #ede9fe; }

.ahbn-footer-actions { grid-column: span 2; margin-top: 15px; background: #fff; padding: 20px 24px; border-radius: 12px; border: 1px solid var(--ahbn-border); display: flex; justify-content: flex-end; }
.ahbn-btn-save { background: var(--ahbn-indigo) !important; border: none !important; height: 44px !important; padding: 0 30px !important; border-radius: 10px !important; font-weight: 700 !important; }

.ahbn-empty-msg { padding: 40px; text-align: center; color: #94a3b8; border: 2px dashed #e2e8f0; border-radius: 12px; margin-bottom: 10px; font-style: italic; }
.ahbn-admin-notice-indigo { border-radius: 12px !important; border-left: 4px solid var(--ahbn-indigo) !important; }

@keyframes acrbPop { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

:root { --ahbn-indigo: #96672b; --ahbn-slate: #1e293b; --ahbn-border: #e2e8f0; --ahbn-success: #10b981; }

.ahbn-rep-wrap { max-width: 1200px; margin: 30px 20px 0 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Header & Typography */
.ahbn-rep-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.ahbn-rep-title { font-weight: 900 !important; margin: 0 !important; font-size: 28px !important; }
.ahbn-rep-subtitle { margin: 5px 0 0; color: #64748b; font-size: 14px; }

/* Stats Cards */
.ahbn-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
.ahbn-stat-card { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; padding: 20px; text-align: center; }
.ahbn-stat-success { border-top: 4px solid var(--ahbn-success); }
.ahbn-stat-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; display: block; }
.ahbn-stat-val { font-size: 24px; font-weight: 900; display: block; margin-top: 5px; color: var(--ahbn-slate); }

/* Filters */
.ahbn-rep-filters { background: #fff; border: 1px solid var(--ahbn-border); padding: 20px; border-radius: 12px; margin-bottom: 25px; }
.ahbn-filter-label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; color: #64748b; }
.ahbn-filter-inputs { display: flex; gap: 10px; }
.ahbn-filter-inputs input { border-radius: 8px; border: 1px solid var(--ahbn-border); padding: 8px 12px; flex: 1; }
.ahbn-btn-filter { background: var(--ahbn-indigo); color: white; border: none; padding: 0 25px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/* Charts & Tables */
.ahbn-charts-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 25px; }
.ahbn-chart-card, .ahbn-table-card { background: #fff; border: 1px solid var(--ahbn-border); border-radius: 12px; padding: 20px; }
.ahbn-chart-title { margin: 0 0 15px 0 !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; font-weight: 700 !important; }

.ahbn-id-badge { background: #f1f5f9; padding: 2px 6px; border-radius: 4px; border: none; }
.ahbn-txt-success { font-weight: 700; color: var(--ahbn-success); }
.ahbn-table-empty { text-align: center; padding: 40px !important; color: #94a3b8; font-style: italic; }

@media print { .ahbn-rep-filters, .ahbn-btn-print { display: none !important; } }

:root { 
    --s-brand: #96672b; 
    --s-bg: #f8fafc; 
    --s-border: #e2e8f0; 
    --s-dark: #0f172a; 
    --s-slate: #64748b;
}

.afon-wrap { margin: 20px 20px 0 0; font-family: 'Inter', sans-serif; }

/* Header & Buttons */
.afon-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.afon-btn-add { background: var(--s-brand); color: #fff !important; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; border: none; cursor: pointer; }
.afon-btn-action { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--s-slate) !important; border: 1px solid var(--s-border); padding: 7px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none !important; }
.afon-btn-action:hover { border-color: var(--s-brand); color: var(--s-brand) !important; background: #f5f3ff; }

/* Table Components */
.afon-main-card { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.user-cell { display: flex; align-items: center; gap: 12px; }
.user-avatar { border-radius: 8px; }
.txt-brand { color: var(--s-brand); }
.txt-slate { color: var(--s-slate); }

/* Badges */
.afon-badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-vip { background: #eef2ff; color: #4338ca; display: inline-block; margin-top: 10px; }
.badge-success { background: #ecfdf5; color: #059669; }
.badge-light { background: #f1f5f9; color: var(--s-slate); }

/* DataTables Overrides */
.dataTables_wrapper .dataTables_filter { padding: 20px; border-bottom: 1px solid var(--s-border); text-align: left !important; }
.dataTables_wrapper .dataTables_filter input { border: 1px solid var(--s-border) !important; border-radius: 8px !important; padding: 8px 12px !important; width: 300px !important; margin-left: 0 !important; }
.dataTables_wrapper .dataTables_paginate { padding: 15px; }
.dataTables_wrapper .dataTables_info { padding: 20px; font-size: 13px; color: var(--s-slate); }

/* Profile View */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 25px; }
.profile-side-card { background: #fff; border: 1px solid var(--s-border); border-radius: 12px; padding: 30px; text-align: center; }
.avatar-main { border-radius: 50%; border: 4px solid #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-bottom: 20px; }
.profile-info-list { margin-top: 25px; border-top: 1px solid var(--s-border); padding-top: 20px; text-align: left; }
.info-item { margin-bottom: 15px; }
.info-label { display: block; font-size: 10px; font-weight: 800; color: var(--s-slate); text-transform: uppercase; }
.info-value { display: block; font-size: 14px; font-weight: 600; color: var(--s-dark); }

.ahbn-email-wrap { max-width: 1000px; margin-top: 20px; }
.ahbn-email-grid { display: grid; grid-template-columns: 1fr 400px; gap: 24px; }
.ahbn-email-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }

/* Fields */
.ahbn-card-title { font-size: 16px !important; font-weight: 700 !important; margin: 0 0 20px 0 !important; display: flex; align-items: center; gap: 8px; }
.ahbn-field { margin-bottom: 20px; }
.ahbn-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #1e293b; }
.ahbn-input-full { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 14px; font-size: 14px; transition: border 0.2s; }
.ahbn-input-full:focus { border-color: #96672b; outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
.ahbn-upload-group { display: flex; gap: 8px; }
.ahbn-color-picker { width: 60px; height: 38px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; cursor: pointer; padding: 4px; }

/* Mock Email Styling */
.email-preview-frame { background: #f1f5f9; border-radius: 12px; padding: 20px; margin-top: 15px; border: 1px dashed #cbd5e1; }
.mock-email { background: white; border-radius: 6px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); overflow: hidden; }
.mock-header { height: 60px; display: flex; align-items: center; justify-content: center; color: white; padding: 10px; }
#preview-logo { max-height: 35px; width: auto; }
#preview-logo-placeholder { font-weight: 800; font-size: 12px; letter-spacing: 1px; }
.mock-body { padding: 25px; font-size: 13px; color: #475569; line-height: 1.5; }
.mock-btn { display: inline-block; padding: 10px 20px; color: white; border-radius: 6px; margin: 15px 0; font-weight: 600; font-size: 12px; }
.mock-divider { border: 0; border-top: 1px solid #f1f5f9; margin: 20px 0; }
.mock-footer { font-size: 11px; color: #94a3b8; }

.ahbn-placeholders { margin-top: 20px; background: #f8fafc; padding: 15px; border-radius: 8px; }
.ahbn-label-sm { font-size: 11px; text-transform: uppercase; color: #64748b; margin-bottom: 8px; display: block; }

.ahbn-saas-container { max-width: 1100px; margin: 20px 0; font-family: 'Inter', -apple-system, sans-serif; }
.ahbn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; }
.ahbn-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

/* Card Header */
.ahbn-card-header { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.ahbn-card-header .dashicons { background: #f1f5f9; padding: 10px; border-radius: 10px; color: #96672b; font-size: 20px; width: 40px; height: 40px; }
.ahbn-card-title { font-size: 16px !important; font-weight: 700 !important; margin: 0 !important; color: #0f172a; }
.ahbn-card-subtitle { font-size: 13px; color: #64748b; margin: 2px 0 0 0; }

/* Fields */
.ahbn-field { margin-bottom: 20px; }
.ahbn-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #334155; }
.ahbn-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.ahbn-input-text, .ahbn-select { width: 100%; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; padding: 10px !important; font-size: 14px !important; }

/* Time Range */
.ahbn-time-range { display: flex; align-items: center; gap: 10px; }
.range-sep { color: #94a3b8; font-weight: 600; font-size: 12px; text-transform: uppercase; }

/* Custom Checkbox Card */
.ahbn-checkbox-card { background: #f8fafc; padding: 15px; border-radius: 10px; border: 1px solid #e2e8f0; margin-top: 10px; }
.ahbn-checkbox-label { display: flex; gap: 12px; cursor: pointer; }
.ahbn-checkbox-label input { margin-top: 3px; }
.ahbn-checkbox-label strong { display: block; font-size: 13px; color: #1e293b; }
.ahbn-checkbox-label span { font-size: 12px; color: #64748b; }

/* Sticky Submit */
.ahbn-submit-sticky { margin-top: 30px; padding: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; display: flex; justify-content: flex-end; }
.ahbn-btn-primary { background: #96672b !important; color: #fff !important; border: none !important; padding: 12px 30px !important; border-radius: 8px !important; font-weight: 700 !important; cursor: pointer; transition: 0.2s; }
.ahbn-btn-primary:hover { background: #4338ca !important; transform: translateY(-1px); }

.ahbn-payments-container { max-width: 800px; margin-top: 20px; }
.ahbn-settings-header { margin-bottom: 30px; }
.ahbn-tab-title { font-size: 22px !important; font-weight: 700 !important; margin: 0 0 5px 0 !important; }
.ahbn-tab-desc { color: #64748b; font-size: 14px; margin: 0; }

/* Payment Method Cards */
.ahbn-method-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.ahbn-method-card.is-active { border-color: #96672b; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

.ahbn-method-header { padding: 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.ahbn-method-info { display: flex; align-items: center; gap: 20px; }
.ahbn-method-icon { width: 48px; height: 48px; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #96672b; transition: 0.3s; }
.ahbn-method-card.is-active .ahbn-method-icon { background: #eef2ff; color: #96672b; }

.ahbn-method-title h4 { margin: 0; font-size: 15px; font-weight: 600; color: #1e293b; }
.ahbn-method-title p { margin: 4px 0 0 0; font-size: 13px; color: #64748b; }

/* Expanded Content */
.ahbn-method-content { padding: 0 24px 24px 92px; display: none; }
.ahbn-method-card.is-active .ahbn-method-content { display: block; }
.ahbn-textarea { width: 100%; border: 1px solid #cbd5e1 !important; border-radius: 8px; padding: 12px; font-size: 14px; background: #fcfcfd; }

/* Save Bar */
.ahbn-footer-action { margin-top: 30px; padding: 20px 0; border-top: 1px solid #e2e8f0; }
.ahbn-btn-save { background: #96672b; color: white; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.ahbn-btn-save:hover { background: #4338ca; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }

/* Toggle Switch Style (Shared) */
.ahbn-toggle { position: relative; width: 42px; height: 22px; }
.ahbn-toggle input { opacity: 0; width: 0; height: 0; }
.ahbn-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #e2e8f0; transition: .3s; border-radius: 34px; }
.ahbn-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background: white; transition: .3s; border-radius: 50%; }
input:checked + .ahbn-slider { background: #96672b; }
input:checked + .ahbn-slider:before { transform: translateX(20px); }

/* Shortcode Input Styling */
.ahbn-sc-code-input {
    background: #f0f0f1 !important;
    border: 1px solid #dcdcde !important;
    font-family: monospace;
    font-size: 13px;
    padding: 8px 12px !important;
    width: 100%;
    border-radius: 4px 0 0 4px;
    box-shadow: none !important;
    color: #2c3338;
}

.ahbn-sc-copy-box {
    display: flex;
    margin: 15px 0;
}

.ahbn-copy-btn {
    border: 1px solid #dcdcde;
    border-left: none;
    background: #fff;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
}

.ahbn-copy-btn:hover {
    background: #f6f7f7;
    color: #2271b1;
}

/* Toast Notification */
.ahbn-copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2c3338;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.ahbn-copy-toast.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar Branding Style */
.ahbn-brand-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.ahbn-brand-header h2 {
    margin: 0;
    color: #333;
    font-size: 180%; /* Adjusted for standard CSS */
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ahbn-brand-header span {
    background: #96672b;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
}

/* Ensure the left tabs container handles the title well */
.ahbn-left-tabs { 
    margin-top: 0 !important; 
}