/*!
 * Smart Autocomplete For WooCommerce Orders - Admin Styles
 * Author: Bytes Technolab
 *
 * ==========================================================================
 * TABLE OF CONTENTS
 * ==========================================================================
 *  1. CSS Custom Properties (Variables)
 *  2. Reset and Base Styles
 *  3. Header Styles
 *  4. Content Layout
 *  5. Enhanced Tabs
 *  6. Tab Content
 *  7. Enhanced Form Fields
 *  8. Enhanced Toggle Switch
 *  9. Enhanced Inputs
 * 10. Enhanced Select
 * 11. Enhanced Textarea
 * 12. Enhanced Select2
 * 13. Field Descriptions
 * 14. Enhanced Tooltips
 * 15. Section Titles
 * 16. Enhanced Form Actions
 * 17. Enhanced Notices
 * 18. Enhanced Sidebar
 * 19. Enhanced Footer
 * 20. Loading and Animation States
 * 21. Focus States for Accessibility
 * 22. Media Queries
 * 23. Print Styles
 * ==========================================================================
 */

/* ==========================================================================
   1. CSS Custom Properties (Variables)
   ========================================================================== */

   :root {
    --smart-primary: #667eea;
    --smart-primary-hover: #5a6fd8;
    --smart-primary-light: #f0f2ff;
    --smart-secondary: #764ba2;
    --smart-success: #10b981;
    --smart-warning: #f59e0b;
    --smart-danger: #ef4444;
    --smart-info: #3b82f6;
    --smart-light: #f8fafc;
    --smart-dark: #1e293b;
    --smart-border: #e2e8f0;
    --smart-text: #334155;
    --smart-text-light: #64748b;
    --smart-text-muted: #94a3b8;
    --smart-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --smart-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
      0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --smart-radius: 12px;
    --smart-radius-sm: 8px;
    --smart-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --smart-gradient: linear-gradient(
      135deg,
      var(--smart-primary) 0%,
      var(--smart-secondary) 100%
    );
  }
  
  /* ==========================================================================
       2. Reset and Base Styles
       ========================================================================== */
  
  .smart-autocomplete-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, sans-serif;
    color: var(--smart-text);
    max-width: 100%;
    margin: 20px 0;
    padding: 0;
    box-sizing: border-box;
    background: #f1f5f9;
    min-height: 100vh;
  }
  
  .smart-autocomplete-wrap * {
    box-sizing: border-box;
  }
  
  .smart-autocomplete-wrap .smart-header-button-docs {
    text-decoration: none;
    color: var(--smart-primary);
    transition: var(--smart-transition);
  }
  
  .smart-autocomplete-wrap .smart-header-button-docs:hover {
    color: var(--smart-primary-hover);
  }
  .smart-autocomplete-wrap .smart-header-button-support {
    text-decoration: none;
    color: var(--smart-light);
    transition: var(--smart-transition);
  }
  
  .smart-autocomplete-wrap .smart-header-button-support:hover {
    color: var(--smart-light);
  }
  
  /* ==========================================================================
       3. Header Styles
       ========================================================================== */
  
  .smart-header {
    background: white;
    border-radius: var(--smart-radius);
    box-shadow: var(--smart-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
  }
  
  .smart-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--smart-gradient);
  }
  
  .smart-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
  }
  
  .smart-header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  /* .smart-logo-icon {
    width: 56px;
    height: 56px;
    background: var(--smart-gradient);
    border-radius: var(--smart-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
  } */
  
  .smart-header-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--smart-dark);
    line-height: 1.2;
  }
  
  .smart-version {
    display: inline-block;
    background: var(--smart-primary-light);
    color: var(--smart-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
  }
  
  .smart-header-actions {
    display: flex;
    gap: 12px;
  }
  
  .smart-header-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--smart-radius-sm);
    font-weight: 500;
    transition: var(--smart-transition);
    background: var(--smart-light);
    color: var(--smart-text);
    border: 1px solid var(--smart-border);
  }
  
  .smart-header-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--smart-shadow);
  }
  
  .smart-header-button-support {
    background: var(--smart-gradient);
    color: #ffffff;
    border: none;
  }
  
  .smart-header-button-support:hover {
    transform: translateY(-1px);
    box-shadow: var(--smart-shadow-lg);
  }
  
  /* ==========================================================================
       4. Content Layout
       ========================================================================== */
  
  .smart-content-wrapper {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
  }
  
  .smart-content {
    background: white;
    border-radius: var(--smart-radius);
    box-shadow: var(--smart-shadow);
    overflow: hidden;
    flex: 1;
  }
  
  .smart-sidebar {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
  }
  
  /* ==========================================================================
       5. Enhanced Tabs
       ========================================================================== */
  
  .smart-tabs {
    display: flex;
    background: var(--smart-light);
    border-bottom: 1px solid var(--smart-border);
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
  }
  
  .smart-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .smart-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    font-weight: 500;
    color: var(--smart-text-light);
    border-bottom: 3px solid transparent;
    transition: var(--smart-transition);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    min-width: 120px;
    justify-content: center;
  }
  
  .smart-tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--smart-gradient);
    opacity: 0;
    transition: var(--smart-transition);
  }
  
  .smart-tab:hover {
    color: var(--smart-primary);
    background: rgba(102, 126, 234, 0.05);
  }
  
  .smart-tab:hover::before {
    opacity: 0.05;
  }
  
  .smart-tab.active {
    color: var(--smart-primary);
    border-bottom-color: var(--smart-primary);
    background: white;
    font-weight: 600;
  }
  
  .smart-tab.active::before {
    opacity: 0.1;
  }
  
  .smart-tab-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
  }
  
  /* ==========================================================================
       6. Tab Content
       ========================================================================== */
  
  .smart-tab-content {
    padding: 0;
  }
  
  .smart-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .smart-tab-panel.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .smart-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--smart-border);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  }
  
  .smart-panel-icon {
    width: 48px;
    height: 48px;
    background: var(--smart-gradient);
    border-radius: var(--smart-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
  }
  
  .smart-panel-text h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--smart-dark);
  }
  
  .smart-panel-text p {
    margin: 0;
    color: var(--smart-text-light);
    font-size: 16px;
  }
  
  .smart-panel-content {
    padding: 32px;
  }
  
  /* ==========================================================================
       7. Enhanced Form Fields
       ========================================================================== */
  
  .smart-form .form-table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
  }
  
  .smart-form .form-table th {
    text-align: left;
    padding: 20px 24px 20px 0;
    width: 35%;
    vertical-align: top;
    font-weight: 600;
    color: var(--smart-dark);
    font-size: 15px;
  }
  
  .smart-form .form-table td {
    padding: 16px 0;
    vertical-align: top;
  }
  
  .smart-form .form-table tr {
    border-bottom: 1px solid #f1f5f9;
  }
  
  .smart-form .form-table tr:last-child {
    border-bottom: none;
  }
  
  .smart-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
  }
  
  /* ==========================================================================
       8. Enhanced Toggle Switch
       ========================================================================== */
  
  .smart-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .smart-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
  }
  
  .smart-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .smart-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e1;
    transition: var(--smart-transition);
    border-radius: 32px;
    display: flex;
    align-items: center;
  }
  
  .smart-toggle-button {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    background: white;
    transition: var(--smart-transition);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .smart-toggle input:checked + .smart-toggle-slider {
    background: var(--smart-primary);
  }
  
  .smart-toggle input:checked + .smart-toggle-slider .smart-toggle-button {
    transform: translateX(24px);
  }
  
  .smart-toggle-label {
    font-weight: 500;
    color: var(--smart-text);
    font-size: 14px;
  }
  
  /* ==========================================================================
       9. Enhanced Inputs
       ========================================================================== */
  
  .smart-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid var(--smart-border);
    border-radius: var(--smart-radius-sm);
    font-size: 14px;
    transition: var(--smart-transition);
    background: white;
    color: var(--smart-text);
  }
  
  .smart-input:focus {
    outline: none;
    border-color: var(--smart-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  /* ==========================================================================
       10. Enhanced Select
       ========================================================================== */
  
  .smart-select-container {
    position: relative;
    width: 100%;
    max-width: 400px;
  }
  
  .smart-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--smart-border);
    border-radius: var(--smart-radius-sm);
    font-size: 14px;
    background: white;
    color: var(--smart-text);
    cursor: pointer;
    transition: var(--smart-transition);
    appearance: none;
  }
  
  .smart-select:focus {
    outline: none;
    border-color: var(--smart-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .smart-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--smart-text-light);
  }
  
  /* ==========================================================================
       11. Enhanced Textarea
       ========================================================================== */
  
  .smart-textarea-container {
    position: relative;
    width: 100%;
    max-width: 500px;
  }
  
  .smart-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    border: 2px solid var(--smart-border);
    border-radius: var(--smart-radius-sm);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: var(--smart-transition);
    background: white;
    color: var(--smart-text);
  }
  
  .smart-textarea:focus {
    outline: none;
    border-color: var(--smart-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .smart-textarea-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 12px;
    color: var(--smart-text-muted);
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
  }
  
  /* ==========================================================================
       12. Enhanced Select2
       ========================================================================== */
  
  .smart-autocomplete-wrap
    .select2-container--default
    .select2-selection--multiple,
  .smart-autocomplete-wrap
    .select2-container--default
    .select2-selection--single {
    border: 2px solid var(--smart-border);
    border-radius: var(--smart-radius-sm);
    min-height: 48px;
    padding: 8px;
    background: white;
    transition: var(--smart-transition);
  }
  
  .smart-autocomplete-wrap
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
  .smart-autocomplete-wrap
    .select2-container--default.select2-container--focus
    .select2-selection--single {
    border-color: var(--smart-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }
  
  .smart-autocomplete-wrap
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
      border-right:none;
  }
  
  .smart-autocomplete-wrap
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background: var(--smart-primary-light);
    border: 1px solid var(--smart-primary);
    color: var(--smart-primary);
    border-radius: var(--smart-radius-sm);
    padding: 6px 12px;
    margin: 4px 6px 4px 0;
    font-weight: 500;
  }
  
  /* ==========================================================================
       13. Field Descriptions
       ========================================================================== */
  
  .smart-field-description {
    margin-top: 8px;
    font-size: 13px;
    color: var(--smart-text-light);
    font-style: normal;
  }
  
  /* ==========================================================================
       14. Enhanced Tooltips
       ========================================================================== */
  
  .smart-label-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .smart-tooltip {
    cursor: help;
    color: var(--smart-primary);
    position: relative;
  }
  
  .smart-tooltip:hover::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--smart-dark);
    margin-bottom: 4px;
  }
  
  .smart-tooltip-popup {
    position: absolute;
    background: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    max-width: 250px;
    z-index: 10000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    pointer-events: none;
  }
  
  .smart-tooltip-popup.smart-tooltip-bottom::before {
    top: auto;
    bottom: -4px;
    border-bottom-color: transparent;
    border-top-color: #1e293b;
  }
  
  /* ==========================================================================
       15. Section Titles
       ========================================================================== */
  
  .smart-section-title {
    color: var(--smart-primary);
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--smart-primary-light);
  }
  
  .smart-subsection-title {
    color: var(--smart-text);
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 12px 0;
  }
  
  .smart-description {
    color: var(--smart-text-light);
    font-size: 14px;
    margin: 0 0 16px 0;
  }
  
  /* ==========================================================================
       16. Enhanced Form Actions
       ========================================================================== */
  
  .smart-form-actions {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 40px;
    padding: 24px 32px;
    background: var(--smart-light);
    border-top: 1px solid var(--smart-border);
  }
  
  .smart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--smart-radius-sm);
    font-weight: 500;
    transition: var(--smart-transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 14px;
  }
  
  .smart-button-primary {
    background: var(--smart-gradient);
    color: white;
    box-shadow: var(--smart-shadow);
  }
  
  .smart-button-danger {
    background: var(--smart-danger);
    color: white;
    box-shadow: var(--smart-shadow);
  }
  .smart-button-danger:hover {
    background: var(--smart-danger);
    color: white;
    box-shadow: var(--smart-shadow);
  }
  .smart-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--smart-shadow-lg);
    color: white;
  }
  
  .smart-button-secondary {
    background: white;
    color: var(--smart-text);
    border: 2px solid var(--smart-border);
  }
  
  .smart-button-secondary:hover {
    background: var(--smart-light);
    border-color: var(--smart-primary);
    color: var(--smart-primary);
  }
  
  /* ==========================================================================
       17. Enhanced Notices
       ========================================================================== */
  
  .smart-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--smart-radius-sm);
    margin-bottom: 24px;
    position: relative;
  }
  
  .smart-notice-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
  }
  
  .smart-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
  }
  
  .smart-notice-content {
    flex: 1;
  }
  
  .smart-notice-content p {
    margin: 0;
    font-weight: 500;
  }
  
  .smart-notice-dismiss {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: inherit;
    opacity: 0.7;
    transition: var(--smart-transition);
  }
  
  .smart-notice-dismiss:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
  }
  
  /* ==========================================================================
       18. Enhanced Sidebar
       ========================================================================== */
  
  .smart-sidebar-box {
    background: white;
    border-radius: var(--smart-radius);
    box-shadow: var(--smart-shadow);
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .smart-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--smart-light);
    border-bottom: 1px solid var(--smart-border);
  }
  
  .smart-sidebar-header .dashicons {
    color: var(--smart-primary);
    font-size: 20px;
  }
  
  .smart-sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--smart-dark);
  }
  
  .smart-sidebar-content {
    padding: 24px;
  }
  
  .smart-sidebar-content p {
    margin: 0 0 16px 0;
    color: var(--smart-text-light);
    line-height: 1.6;
  }
  
  .smart-tips-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .smart-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .smart-tips-list .dashicons {
    color: var(--smart-success);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  
  /* ==========================================================================
       19. Enhanced Footer
       ========================================================================== */
  
  .smart-footer {
    background: white;
    border-radius: var(--smart-radius);
    box-shadow: var(--smart-shadow);
    overflow: hidden;
  }
  
  .smart-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
  }
  
  .smart-footer-info p {
    margin: 0;
    font-size: 14px;
    color: var(--smart-text-light);
  }
  
  .smart-heart {
    color: var(--smart-danger);
    font-size: 16px;
    margin: 0 4px;
  }
  
  .smart-footer-links {
    display: flex;
    gap: 20px;
  }
  
  .smart-footer-links a {
    font-size: 14px;
    color: var(--smart-text-light);
    font-weight: 500;
  }
  
  .smart-footer-links a:hover {
    color: var(--smart-primary);
  }
  
  /* ==========================================================================
       20. Loading and Animation States
       ========================================================================== */
  
  .smart-tab-panel.loading {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .smart-form.saving {
    opacity: 0.8;
    pointer-events: none;
  }
  
  .smart-form.saving .smart-button-primary {
    background: var(--smart-text-muted);
  }
  
  /* ==========================================================================
       21. Focus States for Accessibility
       ========================================================================== */
  
  .smart-tab:focus,
  .smart-button:focus,
  .smart-input:focus,
  .smart-select:focus,
  .smart-textarea:focus {
    outline: 2px solid var(--smart-primary);
    outline-offset: 2px;
  }
  
  /* ==========================================================================
       22. Media Queries
       ========================================================================== */
  
  /* Large screens and below */
  @media screen and (max-width: 1200px) {
    .smart-content-wrapper {
      flex-direction: column;
    }
  
    .smart-sidebar {
      width: 100%;
      order: -1;
    }
  
    .smart-content {
      width: 100%;
    }
  }
  
  /* Tablet and below */
  @media screen and (max-width: 782px) {
    .smart-autocomplete-wrap {
      margin: 10px 0;
    }
  
    .smart-header-content {
      flex-direction: column;
      gap: 20px;
      text-align: center;
      padding: 20px;
    }
  
    .smart-header-logo {
      flex-direction: column;
      gap: 12px;
    }
  
    .smart-header-text h1 {
      font-size: 24px;
    }
  
    .smart-logo-icon {
      width: 48px;
      height: 48px;
      font-size: 20px;
    }
  
    .smart-header-actions {
      flex-direction: column;
      width: 100%;
      gap: 12px;
    }
  
    .smart-header-button {
      justify-content: center;
      width: 100%;
      padding: 12px 16px;
    }
  
    .smart-tabs {
      flex-wrap: wrap;
      gap: 0;
    }
  
    .smart-tab {
      flex: 1;
      min-width: 0;
      padding: 16px 8px;
      justify-content: center;
      text-align: center;
    }
  
    .smart-tab-text {
      display: none;
    }
  
    .smart-tab-icon {
      margin: 0;
    }
  
    .smart-panel-header {
      flex-direction: column;
      text-align: center;
      padding: 24px 20px;
    }
  
    .smart-panel-content {
      padding: 20px;
    }
  
    .smart-form .form-table {
      display: block;
    }
  
    .smart-form .form-table th,
    .smart-form .form-table td {
      display: block;
      width: 100%;
      padding: 12px 0;
    }
  
    .smart-form .form-table th {
      font-weight: 600;
      margin-bottom: 8px;
    }
  
    .smart-field-wrapper {
      max-width: 100%;
    }
  
    .smart-input,
    .smart-select-container {
      max-width: 100%;
    }
  
    .smart-form-actions {
      flex-direction: column;
      gap: 12px;
      padding: 20px;
    }
  
    .smart-button {
      width: 100%;
      justify-content: center;
    }
  
    .smart-footer-content {
      flex-direction: column;
      gap: 16px;
      text-align: center;
      padding: 20px;
    }
  
    .smart-footer-links {
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
    }
  
    .smart-sidebar-content {
      padding: 20px;
    }
  }
  
  /* Mobile and below */
  @media screen and (max-width: 480px) {
    .smart-header-text h1 {
      font-size: 20px;
      line-height: 1.3;
    }
  
    .smart-tab {
      padding: 12px 6px;
    }
  
    .smart-tab-icon {
      font-size: 16px;
    }
  
    .smart-panel-header {
      padding: 20px 16px;
    }
  
    .smart-panel-content {
      padding: 16px;
    }
  
    .smart-panel-text h2 {
      font-size: 20px;
    }
  
    .smart-form-actions {
      padding: 16px;
    }
  }
  
  /* ==========================================================================
       23. Print Styles
       ========================================================================== */
  
  @media print {
    .smart-header-actions,
    .smart-sidebar,
    .smart-form-actions,
    .smart-footer {
      display: none;
    }
  
    .smart-content-wrapper {
      flex-direction: column;
    }
  
    .smart-content {
      box-shadow: none;
      border: 1px solid var(--smart-border);
    }
  }
  .woo-pro-badge {
    display: inline-block;
    background-color: #ff4d4f;       /* Bold red to catch attention */
    color: #fff;
    opacity: 1 !important;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }
  
  /* Enhanced Free vs Pro Section Styles */
  
  .smart-comparison-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: sans-serif;
    color: #333;
  }
  #tab-free-vs-pro  .form-table th{
    text-align: left;
    padding: 20px 0 20px 0;
    width: inherit;
    vertical-align: top;
    font-weight: 600;
    color: var(--smart-dark);
    font-size: 15px;
  }
  
  
  .smart-comparison-header {
    text-align: center;
    padding: 1rem;
    background: #f1f1f1;
    border-radius: 6px;
    margin-bottom: 1.5rem;
  }
  
  .smart-comparison-header h2 {
    margin: 0;
    font-size: 1.75rem;
  }
  
  .smart-comparison-header p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #666;
  }
  
  .smart-comparison-table {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .smart-comparison-row {
    display: flex;
    border-top: 1px solid #eee;
  }
  
  .smart-comparison-header-row {
    background: #eaeaea;
    font-weight: bold;
  }
  
  .smart-comparison-category {
    background: #fafafa;
    font-weight: bold;
    padding: 0.75rem 1rem;
    border-top: 1px solid #ddd;
  }
  
  .smart-comparison-feature,
  .smart-comparison-free,
  .smart-comparison-pro {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  .smart-check-green {
    color: green;
  }
  
  .smart-cross-red {
    color: red;
  }
  
  .smart-comparison-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
    background: #f9f9f9;
    border-radius: 6px;
  }
  
  .smart-button-large {
    background: #0073aa;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
  }
  
  .smart-button-large:hover {
    background: #005f8d;
  }
  
  .sacwo-upgrade-notice {
    margin-top: 10px;
    padding: 10px;
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    text-align: center;
  }
  
  .sacwo-upgrade-notice a{
  color: #e63946;
  }
  #tab-products .smart-field-wrapper{
    pointer-events: none;
  }

 #thank_you_message_design{
  border-radius: 8px !important;
  border-color: #e2e8f0 !important;
  height: 45px !important;
  max-width: 100% !important;
 }
  
  /* ==========================================================================
       End of Smart Autocomplete For WooCommerce Orders Admin Styles
       ========================================================================== */
  