/* Net6ix v3.5 - Themed Version */

/* --- 1. THEME VARIABLE DEFINITIONS --- */
:root {
    /* Light Mode Variables (Default) */
    --theme-bg: #f8f9fa;
    --theme-text: #212629;
    --theme-text-secondary: #6c757d;
    --card-bg: #ffffff;
    --card-border: #dee2e6;
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-focus-border: #86b7fe;
    --input-focus-shadow: rgba(13, 110, 253, 0.25);
    --primary-accent: #007bff;
    --primary-accent-hover: #0056b3;
    --primary-accent-text: #ffffff;
    --danger-accent: #dc3545;
    --danger-accent-text: #ffffff;
    --success-accent: #198754;
    --success-accent-text: #ffffff;
    --warning-accent: #ffc107;
    --warning-accent-text: #212629;
    --info-accent: #0dcaf0;
    --info-accent-text: #000000;
    --status-pending-bg: #ffeb3b;
    --status-pending-text: #333;
    --status-processing-bg: #2196f3;
    --status-processing-text: #fff;
    --status-completed-bg: #4caf50;
    --status-completed-text: #fff;
    --status-cancelled-bg: rgba(244, 67, 54, 0.2);
    --status-cancelled-text: #f44336;
    --status-cancelled-border: #f44336;
    --copy-btn-bg: #e9ecef;
    --copy-btn-text: #495057;
    --copy-btn-border: #ced4da;
    --copy-btn-hover-bg: #007bff;
    --copy-btn-hover-text: #ffffff;
    --copy-btn-hover-border: #007bff;
    --scrollbar-thumb: #6c757d;
    --scrollbar-track: #f1f1f1;
}

[data-theme="dark"] {
    /* Dark Mode Variables */
    --theme-bg: #0D1117;
    --theme-text: #c9d1d9;
    --theme-text-secondary: #8b949e;
    --card-bg: #161B22;
    --card-border: #30363d;
    --input-bg: #0d1117;
    --input-border: #8b949e;
    --input-focus-border: #58a6ff;
    --input-focus-shadow: rgba(88, 166, 255, 0.2);
    --primary-accent: #00A3FF;
    --primary-accent-hover: #0082cc;
    --primary-accent-text: #ffffff;
    --danger-accent: #dc2626;
    --danger-accent-text: #ffffff;
    --success-accent: #198754;
    --success-accent-text: #ffffff;
    --warning-accent: #ffc107;
    --warning-accent-text: #212629;
    --info-accent: #0dcaf0;
    --info-accent-text: #000000;
    --status-pending-bg: #ffeb3b;
    --status-pending-text: #333;
    --status-processing-bg: #2196f3;
    --status-processing-text: #fff;
    --status-completed-bg: #4caf50;
    --status-completed-text: #fff;
    --status-cancelled-bg: rgba(244, 67, 54, 0.2);
    --status-cancelled-text: #f44336;
    --status-cancelled-border: #f44336;
    --copy-btn-bg: #30363d;
    --copy-btn-text: #c9d1d9;
    --copy-btn-border: #8b949e;
    --copy-btn-hover-bg: #58a6ff;
    --copy-btn-hover-text: #ffffff;
    --copy-btn-hover-border: #58a6ff;
    --scrollbar-thumb: #4f46e5;
    --scrollbar-track: #111827;
}

/* --- Ensure these theme definitions are present --- */

[data-theme="teal"] {
  --theme-bg: #34706d; /* Main background */
  --theme-text: #ffffff; /* Primary text */
  --theme-text-secondary: #c0f3f0; /* Lighter secondary text */
  --card-bg: #2a5a57; /* Card background */
  --card-border: #4a8a86; /* Card border */
  --input-bg: #2a5a57; /* Input background */
  --input-border: #4a8a86; /* Input border */
  --input-focus-border: #a7e0dd;
  --input-focus-shadow: rgba(167, 224, 221, 0.25);
  --primary-accent: #a7e0dd; /* Lighter accent */
  --primary-accent-hover: #c0f3f0;
  --primary-accent-text: #1f4240; /* Darker text for accent button */
  /* Keep other accents (danger, success, etc.) or adjust as needed */
  --danger-accent: #ff6b6b;
  --danger-accent-text: #ffffff;
  --success-accent: #63d471;
  --success-accent-text: #ffffff;
  --warning-accent: #ffda6b;
  --warning-accent-text: #333;
  --info-accent: #6bd6ff;
  --info-accent-text: #000000;
  --status-pending-bg: #ffeb3b;
  --status-pending-text: #333;
  --status-processing-bg: #6bd6ff;
  --status-processing-text: #000;
  --status-completed-bg: #63d471;
  --status-completed-text: #fff;
  --status-cancelled-bg: rgba(255, 107, 107, 0.2);
  --status-cancelled-text: #ff6b6b;
  --status-cancelled-border: #ff6b6b;
  --copy-btn-bg: #4a8a86;
  --copy-btn-text: #c0f3f0;
  --copy-btn-border: #5eaaa5;
  --copy-btn-hover-bg: #a7e0dd;
  --copy-btn-hover-text: #1f4240;
  --copy-btn-hover-border: #a7e0dd;
  --scrollbar-thumb: #a7e0dd;
  --scrollbar-track: #2a5a57;
  /* Style for Link and Quantity inputs */
    .smmflare-form-group input.net6ix-link,
    .smmflare-form-group input.net6ix-qty,
    .smmflare-form-group textarea.net6ix-custom-data, /* Also style the custom data textarea */
    .net6ix-country-selector-trigger /* And the country selector button */
     {
        border: 1px solid var(--card-border) !important; /* Use the theme's card border */
    }

    /* Input focus styles (using existing focus variables) */
    .smmflare-form-group input.net6ix-link:focus,
    .smmflare-form-group input.net6ix-qty:focus,
    .smmflare-form-group textarea.net6ix-custom-data:focus,
    .net6ix-country-selector-trigger:focus
     {
        border-color: var(--input-focus-border) !important;
        box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
    }
}

[data-theme="maroon"] {
  --theme-bg: #570e00; /* Main background */
  --theme-text: #ffffff; /* Primary text */
  --theme-text-secondary: #ffdad3; /* Lighter secondary text */
  --card-bg: #400a00; /* Card background */
  --card-border: #751f0f; /* Card border */
  --input-bg: #400a00; /* Input background */
  --input-border: #751f0f; /* Input border */
  --input-focus-border: #ffb4a7;
  --input-focus-shadow: rgba(255, 180, 167, 0.25);
  --primary-accent: #ffb4a7; /* Lighter accent */
  --primary-accent-hover: #ffdad3;
  --primary-accent-text: #2b0600; /* Darker text for accent button */
  /* Keep other accents or adjust */
  --danger-accent: #ff6b6b;
  --danger-accent-text: #ffffff;
  --success-accent: #63d471;
  --success-accent-text: #ffffff;
  --warning-accent: #ffda6b;
  --warning-accent-text: #333;
  --info-accent: #6bd6ff;
  --info-accent-text: #000000;
  --status-pending-bg: #ffeb3b;
  --status-pending-text: #333;
  --status-processing-bg: #6bd6ff;
  --status-processing-text: #000;
  --status-completed-bg: #63d471;
  --status-completed-text: #fff;
  --status-cancelled-bg: rgba(255, 107, 107, 0.2);
  --status-cancelled-text: #ff6b6b;
  --status-cancelled-border: #ff6b6b;
  --copy-btn-bg: #751f0f;
  --copy-btn-text: #ffdad3;
  --copy-btn-border: #9b311e;
  --copy-btn-hover-bg: #ffb4a7;
  --copy-btn-hover-text: #2b0600;
  --copy-btn-hover-border: #ffb4a7;
  --scrollbar-thumb: #ffb4a7;
  --scrollbar-track: #400a00;
  /* Style for Link and Quantity inputs */
    .smmflare-form-group input.net6ix-link,
    .smmflare-form-group input.net6ix-qty,
    .smmflare-form-group textarea.net6ix-custom-data, /* Also style the custom data textarea */
    .net6ix-country-selector-trigger /* And the country selector button */
     {
        border: 1px solid var(--card-border) !important; /* Use the theme's card border */
    }

    /* Input focus styles (using existing focus variables) */
    .smmflare-form-group input.net6ix-link:focus,
    .smmflare-form-group input.net6ix-qty:focus,
    .smmflare-form-group textarea.net6ix-custom-data:focus,
    .net6ix-country-selector-trigger:focus
     {
        border-color: var(--input-focus-border) !important;
        box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
    }
}

[data-theme="navy"] {
  --theme-bg: #000a57; /* Main background */
  --theme-text: #ffffff; /* Primary text */
  --theme-text-secondary: #d9e2ff; /* Lighter secondary text */
  --card-bg: #00073f; /* Card background */
  --card-border: #1a2a7f; /* Card border */
  --input-bg: #00073f; /* Input background */
  --input-border: #1a2a7f; /* Input border */
  --input-focus-border: #b0c6ff;
  --input-focus-shadow: rgba(176, 198, 255, 0.25);
  --primary-accent: #b0c6ff; /* Lighter accent */
  --primary-accent-hover: #d9e2ff;
  --primary-accent-text: #00052e; /* Darker text for accent button */
  /* Keep other accents or adjust */
  --danger-accent: #ff6b6b;
  --danger-accent-text: #ffffff;
  --success-accent: #63d471;
  --success-accent-text: #ffffff;
  --warning-accent: #ffda6b;
  --warning-accent-text: #333;
  --info-accent: #6bd6ff;
  --info-accent-text: #000000;
  --status-pending-bg: #ffeb3b;
  --status-pending-text: #333;
  --status-processing-bg: #6bd6ff;
  --status-processing-text: #000;
  --status-completed-bg: #63d471;
  --status-completed-text: #fff;
  --status-cancelled-bg: rgba(255, 107, 107, 0.2);
  --status-cancelled-text: #ff6b6b;
  --status-cancelled-border: #ff6b6b;
  --copy-btn-bg: #1a2a7f;
  --copy-btn-text: #d9e2ff;
  --copy-btn-border: #3b4aa7;
  --copy-btn-hover-bg: #b0c6ff;
  --copy-btn-hover-text: #00052e;
  --copy-btn-hover-border: #b0c6ff;
  --scrollbar-thumb: #b0c6ff;
  --scrollbar-track: #00073f;
  /* Style for Link and Quantity inputs */
    .smmflare-form-group input.net6ix-link,
    .smmflare-form-group input.net6ix-qty,
    .smmflare-form-group textarea.net6ix-custom-data, /* Also style the custom data textarea */
    .net6ix-country-selector-trigger /* And the country selector button */
     {
        border: 1px solid var(--card-border) !important; /* Use the theme's card border */
    }

    /* Input focus styles (using existing focus variables) */
    .smmflare-form-group input.net6ix-link:focus,
    .smmflare-form-group input.net6ix-qty:focus,
    .smmflare-form-group textarea.net6ix-custom-data:focus,
    .net6ix-country-selector-trigger:focus
     {
        border-color: var(--input-focus-border) !important;
        box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
    }
}

/* --- Add this new theme definition --- */

[data-theme="deepblue"] {
  --theme-bg: #002136; /* Main background */
  --theme-text: #ffffff; /* Primary text */
  --theme-text-secondary: #cce4ff; /* Lighter secondary text */
  --card-bg: #001726; /* Card background */
  --card-border: #003554; /* Card border */
  --input-bg: #001726; /* Input background */
  --input-border: #003554; /* Input border */
  --input-focus-border: #66a3ff;
  --input-focus-shadow: rgba(102, 163, 255, 0.25);
  --primary-accent: #66a3ff; /* Lighter accent */
  --primary-accent-hover: #99c2ff;
  --primary-accent-text: #00111a; /* Darker text for accent button */
  /* Keep other accents */
  --danger-accent: #ff6b6b;
  --danger-accent-text: #ffffff;
  --success-accent: #63d471;
  --success-accent-text: #ffffff;
  --warning-accent: #ffda6b;
  --warning-accent-text: #333;
  --info-accent: #6bd6ff;
  --info-accent-text: #000000;
  --status-pending-bg: #ffeb3b;
  --status-pending-text: #333;
  --status-processing-bg: #6bd6ff;
  --status-processing-text: #000;
  --status-completed-bg: #63d471;
  --status-completed-text: #fff;
  --status-cancelled-bg: rgba(255, 107, 107, 0.2);
  --status-cancelled-text: #ff6b6b;
  --status-cancelled-border: #ff6b6b;
  --copy-btn-bg: #003554;
  --copy-btn-text: #cce4ff;
  --copy-btn-border: #004c75;
  --copy-btn-hover-bg: #66a3ff;
  --copy-btn-hover-text: #00111a;
  --copy-btn-hover-border: #66a3ff;
  --scrollbar-thumb: #66a3ff;
  --scrollbar-track: #001726;

  /* Style for Link and Quantity inputs */
  .smmflare-form-group input.net6ix-link,
  .smmflare-form-group input.net6ix-qty,
  .smmflare-form-group textarea.net6ix-custom-data,
  .net6ix-country-selector-trigger
   {
      border: 1px solid var(--card-border) !important;
  }

  /* Input focus styles */
  .smmflare-form-group input.net6ix-link:focus,
  .smmflare-form-group input.net6ix-qty:focus,
  .smmflare-form-group textarea.net6ix-custom-data:focus,
  .net6ix-country-selector-trigger:focus
   {
      border-color: var(--input-focus-border) !important;
      box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
  }
}

/* --- 2. GENERAL & SMMFLARE THEME --- */
.net6ix-app { max-width:1100px; margin:24px auto; font-family:Inter, Arial, sans-serif; }
.net6ix-status { padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; display: inline-block; text-shadow: none; line-height: 1.5; }
.net6ix-status-pending { background: var(--status-pending-bg); color: var(--status-pending-text); }
.net6ix-status-processing { background: var(--status-processing-bg); color: var(--status-processing-text); }
.net6ix-status-completed { background: var(--status-completed-bg); color: var(--status-completed-text); }
.net6ix-status-cancelled, .net6ix-status-failed { background-color: var(--status-cancelled-bg); color: var(--status-cancelled-text); border: 1px solid var(--status-cancelled-border);}
.net6ix-msg.net6ix-success { color: var(--success-accent); }
.net6ix-msg.net6ix-error { color: var(--danger-accent); }

.net6ix-smmflare-theme { background-color: var(--theme-bg); color: var(--theme-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; padding: 15px; border-radius: 10px; transition: background-color 0.3s, color 0.3s; }
.smmflare-header { text-align: left; margin-bottom: 25px; }
.smmflare-header h2 { color: var(--theme-text); font-size: 24px; margin: 0 0 5px 0; }
.smmflare-header p { color: var(--theme-text-secondary); font-size: 14px; margin: 0; }
.smmflare-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.smmflare-stat-card { 
        background-color: var(--card-bg); 
        border: 1px solid var(--card-border); 
        border-radius: 8px; 
        padding: 16px; 
        display: flex; 
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align text to the start (left) */
    }
.smmflare-stat-card .card-content { display: flex; flex-direction: column; margin-right: auto; }
.smmflare-stat-card span { font-size: 13px; color: var(--theme-text-secondary); }
.smmflare-stat-card strong { 
        font-size: 18px; 
        font-weight: 600; 
        color: var(--theme-text);
        margin-top: 4px; /* Space between label and number */
        overflow-wrap: break-word; /* Allows long numbers to wrap nicely */
        word-break: break-word;
        line-height: 1.2;
    }
/* --- Styles for Stat Card Action Buttons (Add Funds / My Orders) --- */
.smmflare-stat-card .card-action {
    /* Button Shape & Color */
    background-color: var(--primary-accent); /* Use the theme's primary accent color */
    color: var(--primary-accent-text);       /* Use the theme's text color for the accent */
    padding: 4px 10px;                       /* MODIFIED: Reduced vertical padding */
    border-radius: 5px;                     /* Creates the pill shape */
    border: 1px solid var(--card-border) !important;                            /* Remove default border */

    /* Text & Font */
    text-decoration: none;                   /* Remove underline */
    font-size: 13px;                         /* Keep font size consistent */
    font-weight: 700;                        /* Make text bolder */
    text-align: center;

    /* Positioning & Display */
    display: block;                          /* Make it a block element */
        width: 70%;                           /* Make it full width */
        margin-left: 0;                        /* Remove the side margin */
        margin-top: 10px;                        /* MODIFIED: Reduced top margin */
        cursor: pointer;                         /* Indicate it's clickable */
    white-space: nowrap;                     /* Prevent text wrapping */
     align-items: center; 
    justify-content: space-between;

    /* Effects */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background-color 0.2s ease, transform 0.1s ease; /* Smooth transitions */
}

.smmflare-stat-card .card-action:hover {
    background-color: var(--primary-accent-hover); /* Use theme's hover color */
    transform: translateY(-1px);                 /* Slight lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


/* Make sure the content doesn't push the button too far */
.smmflare-stat-card .card-content {
     margin-right: 0; /* Remove the auto margin */
}

/* Style for custom plus symbol in stat card */
.smmflare-stat-card .card-action .custom-plus-symbol {
    color: var(--primary-accent-text);
    font-size: 1.2em;           /* Makes it slightly larger than the text */
    vertical-align: middle;     /* This is the key: aligns it with the text */
    margin-right: 4px;          /* Adds a small space */
    line-height: 1;             /* Prevents extra vertical space */
}

.smmflare-order-box { background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 20px; }
.smmflare-order-box h3 { color: var(--theme-text); margin: 0 0 20px 0; font-size: 18px; }
.smmflare-form-group { margin-bottom: 15px; }
.smmflare-form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--theme-text); margin-bottom: 8px; }
.smmflare-form-group input { width: 100%; box-sizing: border-box; background-color: var(--input-bg) !important; border: 1px solid var(--input-border); color: var(--theme-text) !important; border-radius: 6px; padding: 10px; font-size: 14px; }
.smmflare-form-group input:focus { outline: none; border-color: var(--input-focus-border); box-shadow: 0 0 0 3px var(--input-focus-shadow); }
#net6ix-order-details .net6ix-total { background-color: var(--theme-bg); border: 1px solid var(--card-border); border-radius: 6px; padding: 12px; margin-top: 15px; font-weight: 600; }
.net6ix-place-order {
    width: 100%;
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}
.net6ix-place-order:hover {
    background-color: var(--primary-accent-hover);
}
#net6ix-order-details .net6ix-msg { text-align: center; margin-top: 15px; font-weight: 500; }
#net6ix-description-area-wrapper { margin-top: 20px; }
.net6ix-description-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 20px; }
.net6ix-description-card h4 { color: var(--theme-text) !important; border-bottom-color: var(--card-border); }
.net6ix-description-card .net6ix-description { color: var(--theme-text); }
.smmflare-quantity-details { margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.qty-badge { background-color: var(--danger-accent); color: var(--danger-accent-text); padding: 4px 10px; border-radius: 16px; font-size: 12px; font-weight: 600; display: inline-block; line-height: 1; }

.smmflare-category-filters { margin-bottom: 25px; overflow-x: auto; }
#net6ix-order-status-filters { display: flex; gap: 10px; padding-bottom: 5px; }
.smmflare-cat-button { background-color: var(--card-bg); border: 1px solid var(--card-border); color: var(--theme-text); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px; white-space: nowrap; transition: all 0.2s ease-in-out; }
.smmflare-cat-button.active, .smmflare-cat-button:hover { background-color: var(--primary-accent); border-color: var(--primary-accent); color: var(--primary-accent-text); }

/* --- 3. BOTTOM NAVIGATION --- */
 body:has(.net6ix-bottom-nav-container) {
    padding-bottom: 95px !important; /* Height (65px) + Bottom Offset (20px) + Extra Space (10px) */
    box-sizing: border-box;
}
.net6ix-bottom-nav-container { position: fixed; bottom: 20px; left: 0; width: 100%; z-index: 1000; padding: 0 15px; box-sizing: border-box; }
.net6ix-bottom-nav-bar { max-width: 400px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; display: flex; justify-content: space-around; align-items: center; height: 65px; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.net6ix-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--theme-text-secondary); font-size: 12px; flex-grow: 1; }
.net6ix-nav-item span { margin-top: 4px; }
.net6ix-nav-item.center-item { position: relative; top: -20px; }
.center-icon-bg { background-color: var(--danger-accent); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--theme-bg); }
.net6ix-nav-item.center-item span { color: var(--theme-text); font-weight: 600; }
.net6ix-nav-item div[class^="icon-"] { width: 24px; height: 24px; background-color: var(--theme-text-secondary); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.icon-cart { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>');}
.icon-menu { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>');}
.icon-plus { background-color: white; -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>');}
.net6ix-whatsapp-fab { position: fixed; left: 15px; bottom: 100px; width: 50px; height: 50px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1001; }
.net6ix-whatsapp-fab img { width: 28px; height: 28px; }

/* --- 4. MY ORDERS CARDS --- */
.smmflare-orders-list { display: flex; flex-direction: column; gap: 15px; }
.smmflare-order-card { background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 15px; }
.smmflare-order-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--card-border); font-size: 14px; }
.smmflare-order-card .smmflare-order-row:last-child { border-bottom: none; padding-bottom: 0; }
.smmflare-order-card .smmflare-order-row:first-child { padding-top: 0; }
.smmflare-order-label { color: var(--theme-text-secondary); text-transform: uppercase; font-size: 12px; font-weight: 600; }
.smmflare-order-value { color: var(--theme-text); font-weight: 500; text-align: right; }
.smmflare-order-progress { background-color: var(--card-border); color: var(--theme-text); padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.copy-btn { background-color: var(--copy-btn-bg); color: var(--copy-btn-text); border: 1px solid var(--copy-btn-border); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 500; cursor: pointer; margin-left: 8px; transition: background-color 0.2s ease; }
.copy-btn:hover { background-color: var(--copy-btn-hover-bg); color: var(--copy-btn-hover-text); border-color: var(--copy-btn-hover-border); }

/* --- 5. DROPDOWNS & SEARCH --- */
.smmflare-custom-select-wrapper { position: relative; }
.smmflare-custom-select-trigger { background-color: var(--input-bg); border: 1px solid var(--card-border); color: var(--theme-text); border-radius: 6px; padding: 10px; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.smmflare-custom-select-trigger::after { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--theme-text); transition: transform 0.2s ease; }
.smmflare-custom-select-trigger { gap: 10px; }
.smmflare-custom-option { display: flex; align-items: center; gap: 10px; }
.smmflare-option-icon { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.smmflare-custom-select-trigger > span { flex-grow: 1; }
#network-select-wrapper .smmflare-custom-select-trigger, #category-filter-wrapper .smmflare-custom-select-trigger, #service-select-wrapper .smmflare-custom-select-trigger { font-size: 17px !important; font-weight: 700 !important; }

.net6ix-search-container { position: relative; padding: 0; margin-bottom: 25px; display: flex; justify-content: center; }
#net6ix-service-search { width: 90%; max-width: 500px; background-color: var(--input-bg) !important; color: var(--theme-text) !important; border: 1px solid var(--primary-accent) !important; border-radius: 6px; padding: 12px; font-size: 14px; }
#net6ix-search-results { position: absolute; top: 100%; background: var(--card-bg); border: 1px solid var(--card-border); border-top: none; border-radius: 0 0 8px 8px; z-index: 1001; max-height: 250px; overflow-y: auto; display: none; width: 100%; max-width: 500px; left: 50%; transform: translateX(-50%); }
#net6ix-search-results ul { list-style: none; margin: 0; padding: 0; }
#net6ix-search-results li { padding: 10px 12px; cursor: pointer; font-size: 13px; border-bottom: 1px solid var(--card-border); color: var(--theme-text); }
#net6ix-search-results li:last-child { border-bottom: none; }
#net6ix-search-results li:hover { background-color: var(--theme-bg); }

/* --- 6. SIDEBAR & MODALS --- */
body.sidebar-is-open { overflow: hidden; }
#net6ix-sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
#net6ix-sidebar-overlay.active { opacity: 1; visibility: visible; }
.net6ix-sidebar-menu-container { position: fixed; top: 0; left: 0; width: 300px; height: 100%; background-color: var(--theme-bg); color: var(--theme-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; padding: 15px; box-shadow: 4px 0 15px rgba(0,0,0,0.2); z-index: 9999; transform: translateX(-100%); transition: transform 0.3s ease-in-out; display: flex; flex-direction: column; }
.net6ix-sidebar-menu-container.active { transform: translateX(0); }
.net6ix-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid var(--card-border); margin-bottom: 15px; }
.net6ix-sidebar-header h3 { margin: 0; color: var(--theme-text); font-size: 20px; }
.net6ix-sidebar-close-btn { background: none; border: none; color: var(--theme-text-secondary); font-size: 32px; line-height: 1; cursor: pointer; padding: 0 5px; }
.net6ix-sidebar-menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.net6ix-sidebar-item a { display: flex; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--theme-text); border-radius: 8px; transition: background-color 0.2s ease-in-out; }
.net6ix-sidebar-item:not(.active) a:hover { background-color: var(--card-bg); }
.net6ix-sidebar-item.active a { background-color: var(--primary-accent); color: var(--primary-accent-text); font-weight: 600; }
.net6ix-sidebar-icon { width: 22px; height: 22px; margin-right: 15px; object-fit: contain; }
[data-theme="light"] .net6ix-sidebar-item.active .net6ix-sidebar-icon { filter: brightness(0) invert(1); } /* Make icon white on light mode active */
.net6ix-sidebar-name { flex-grow: 1; }
.net6ix-sidebar-arrow { font-size: 20px; font-weight: bold; }

/* DYNAMIC ADD FUNDS MODAL STYLES */
#net6ix-funds-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); z-index: 10000; }
#net6ix-funds-modal-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 420px; z-index: 10001; }
#net6ix-add-funds-panel-container { background-color: var(--theme-bg); color: var(--theme-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--card-border); }
.net6ix-funds-view { padding: 20px; box-sizing: border-box; }
.net6ix-funds-header { display: flex; align-items: center; margin-bottom: 25px; justify-content: space-between; }
.net6ix-funds-back-btn, .net6ix-funds-close-btn { background: none; border: none; color: var(--theme-text); cursor: pointer; font-size: 28px; line-height: 1; padding: 0; }
.net6ix-funds-header h2 { margin: 0; font-size: 20px; color: var(--theme-text); text-align: center; flex-grow: 1; }
#net6ix-payment-method-list { display: flex; flex-direction: column; gap: 12px; }
.net6ix-payment-method-item { display: flex; align-items: center; gap: 15px; background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 15px; cursor: pointer; transition: background-color 0.2s ease; }
.net6ix-payment-method-item:hover { background-color: var(--theme-bg); }
.net6ix-payment-method-item .logo { width: 32px; height: 32px; background-color: transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.net6ix-payment-method-item .logo img { max-width: 28px; max-height: 28px; object-fit: contain; }
.net6ix-payment-method-item .details { flex-grow: 1; }
.net6ix-payment-method-item .details .name { font-weight: 600; color: var(--theme-text); }
.net6ix-payment-method-item .details .info { font-size: 12px; color: var(--theme-text-secondary); }
.net6ix-payment-method-item .arrow { color: var(--theme-text-secondary); font-size: 20px; }
#net6ix-payment-form-view { text-align: center; }
#net6ix-payment-form-view .net6ix-funds-header { justify-content: flex-start; }
#net6ix-payment-form-view .net6ix-funds-header h2 { text-align: left; padding-left: 15px; }
.net6ix-payment-form-logo { width: 40px; height: 40px; border-radius: 8px; background-color: var(--card-bg); margin: 0 auto 15px auto; display: flex; align-items: center; justify-content: center; }
.net6ix-payment-form-logo img { max-width: 32px; max-height: 32px; }
.net6ix-payment-form-input-group { margin-bottom: 20px; }
.net6ix-payment-form-input-group label { display: block; color: var(--theme-text-secondary); margin-bottom: 8px; font-weight: 500; }
.net6ix-payment-form-input { width: 100%; background-color: var(--card-bg) !important; border: 1px solid var(--card-border); color: var(--theme-text) !important; border-radius: 6px; padding: 15px; font-size: 18px; text-align: center; box-sizing: border-box; }
.net6ix-payment-form-input:focus { outline: none; border-color: var(--input-focus-border); box-shadow: 0 0 0 3px var(--input-focus-shadow); }
.net6ix-payment-form-info { color: var(--theme-text-secondary); font-size: 14px; margin-bottom: 20px; }
.net6ix-payment-form-button { width: 100%; background-color: var(--primary-accent); color: var(--primary-accent-text); border: none; padding: 15px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease; }
.net6ix-payment-form-button:hover { background-color: var(--primary-accent-hover); }
.net6ix-payment-form-button:disabled { background-color: var(--card-border); cursor: not-allowed; }
.net6ix-payment-form-error { color: var(--danger-accent); margin-top: 15px; font-weight: 500; }
#net6ix-manual-instructions-content {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    text-align: left;
    color: var(--theme-text);
    /* FIXES APPLIED BELOW */
    line-height: 1.5;         /* Controls spacing between lines */
    word-break: break-all;    /* Forces long text like crypto addresses to wrap */
    font-size: 14px;          /* Optional: Adjusts font size for a cleaner look */
}

/* --- Pop-Out Selector Modal Styles --- */
.net6ix-pop-out-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.net6ix-pop-out-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s 0s; }
.net6ix-pop-out-sheet { position: relative; background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; max-height: 80vh; width: 90%; max-width: 450px; display: flex; flex-direction: column; opacity: 0; transform: scale(0.95); transition: transform 0.3s ease, opacity 0.3s ease; }
.net6ix-pop-out-overlay.active .net6ix-pop-out-sheet { opacity: 1; transform: scale(1); }
.net6ix-pop-out-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--card-border); flex-shrink: 0; }
.net6ix-pop-out-header h3 { margin: 0; font-size: 18px; color: var(--theme-text); }
.net6ix-pop-out-close { background: none; border: none; color: var(--theme-text-secondary); font-size: 32px; line-height: 1; cursor: pointer; padding: 0 5px; }
.net6ix-pop-out-options { overflow-y: auto; padding: 10px; scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track); }
.smmflare-custom-options-container { display: none !important; }
.smmflare-custom-option { font-size: 20px; color: var(--theme-text); font-weight: 600; }
.smmflare-custom-option .option-price { color: var(--theme-text-secondary); font-size: 14px; }
.net6ix-pop-out-sheet { width: 100%; max-height: 70vh; background: var(--theme-bg); border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.7); display: flex; flex-direction: column; overflow: hidden; padding: 10px 0; }
.net6ix-pop-out-options .smmflare-custom-option { background: var(--card-bg); margin: 10px 0; padding: 18px; font-size: 20px; font-weight: 600; color: var(--theme-text); border-radius: 12px; text-align: left; transition: all 0.25s ease; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.net6ix-pop-out-options .smmflare-custom-option:hover { background: var(--primary-accent); color: var(--primary-accent-text); transform: scale(1.03); }
.net6ix-pop-out-options .smmflare-custom-option.active { background: var(--primary-accent); color: var(--primary-accent-text); font-weight: 700; }

/* --- 7. MISC & SERVICE SPECIFIC --- */
.smmflare-form-group textarea.net6ix-custom-data { width: 100%; box-sizing: border-box; background-color: var(--input-bg) !important; border: 1px solid var(--primary-accent) !important; color: var(--theme-text) !important; border-radius: 6px; padding: 10px; font-size: 14px; font-family: inherit; resize: vertical; }
.smmflare-form-group textarea.net6ix-custom-data:focus { outline: none; border-color: var(--input-focus-border); box-shadow: 0 0 0 3px var(--input-focus-shadow); }

.net6ix-country-selector-trigger { background-color: var(--input-bg); border: 1px solid var(--card-border); color: var(--theme-text); border-radius: 6px; padding: 10px; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; box-sizing: border-box; }
.net6ix-country-selector-trigger:hover { border-color: var(--input-focus-border); }
.net6ix-country-selector-trigger .count { background-color: var(--primary-accent); color: var(--primary-accent-text); padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: bold; }
.net6ix-pop-out-options .country-option { display: flex; align-items: center; gap: 15px; padding: 12px 18px; }
.net6ix-pop-out-options .country-option input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary-accent); }
.net6ix-pop-out-options .country-option.disabled { opacity: 0.6; background-color: var(--card-bg); cursor: not-allowed; }
.net6ix-pop-out-options .country-option.disabled:hover { transform: none; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.net6ix-pop-out-footer { padding: 10px 20px; border-top: 1px solid var(--card-border); flex-shrink: 0; }
.net6ix-pop-out-done-btn { width: 100%; background-color: var(--primary-accent); color: var(--primary-accent-text); border: none; padding: 12px; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; }

/* --- 8. PAGINATION STYLES --- */
.smmflare-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.smmflare-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--theme-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}
.smmflare-pagination .page-numbers:hover {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-accent-text);
}
.smmflare-pagination .page-numbers.current {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--primary-accent-text);
    font-weight: bold;
    cursor: default;
}

/* --- 9. SUPPORT TICKET STYLES --- */
.net6ix-ticket-container {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 65vh;
    max-height: 500px;
}

.net6ix-ticket-chat-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.net6ix-ticket-placeholder {
    margin: auto;
    text-align: center;
    color: var(--theme-text-secondary);
}

.net6ix-ticket-placeholder .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-accent);
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/></svg>');
    margin: 0 auto 15px auto;
    opacity: 0.5;
}

.net6ix-ticket-placeholder strong {
    display: block;
    font-size: 18px;
    color: var(--theme-text);
    margin-bottom: 5px;
}

.net6ix-ticket-reply-box {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--card-border);
    gap: 10px;
}

#net6ix-ticket-message-input {
    flex-grow: 1;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg) !important;
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--theme-text) !important;
    font-size: 14px;
}

#net6ix-ticket-message-input:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
}

#net6ix-send-ticket-message-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
#net6ix-send-ticket-message-btn:hover {
    background-color: var(--primary-accent-hover);
}
#net6ix-send-ticket-message-btn svg {
    stroke: var(--primary-accent-text);
}

/* Appended to SUPPORT TICKET STYLES */
.ticket-message-wrapper {
    display: flex;
    margin-bottom: 15px;
}
.ticket-message {
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 80%;
}
.ticket-message .author {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}
.ticket-message .content {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}
.ticket-message .date {
    font-size: 11px;
    text-align: right;
    margin-top: 5px;
    opacity: 0.7;
}
.user-message {
    justify-content: flex-end;
}
.user-message .ticket-message {
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
    border-bottom-right-radius: 2px;
}
.admin-reply {
    justify-content: flex-start;
}
.admin-reply .ticket-message {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    border-bottom-left-radius: 2px;
}

/* --- 10. AUTHENTICATION FORMS --- */
.net6ix-auth-wrapper {
    max-width: 360px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
[data-theme="dark"] .net6ix-auth-wrapper {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.net6ix-auth-wrapper p {
    margin-bottom: 15px;
}
.net6ix-auth-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-text);
    margin-bottom: 8px;
}
.net6ix-auth-wrapper .input {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border);
    color: var(--theme-text) !important;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}
.net6ix-auth-wrapper .input:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
}
.net6ix-auth-wrapper .button-primary {
    width: 100%;
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}
.net6ix-auth-wrapper .button-primary:hover {
    background-color: var(--primary-accent-hover);
}
.net6ix-auth-wrapper #nav {
    margin: 20px 0 0 0;
    text-align: center;
    line-height: 1.6;
}
.net6ix-auth-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid transparent;
}
.net6ix-auth-notice.net6ix-error {
    color: var(--danger-accent);
    background-color: rgba(220, 53, 69, 0.1);
    border-color: var(--danger-accent);
}
.net6ix-auth-notice.net6ix-success {
    color: var(--success-accent);
    background-color: rgba(25, 135, 84, 0.1);
    border-color: var(--success-accent);
}

/*
================================================================
== Custom Styles for Net6ix Panel v8.0+ - My Account & Inputs ==
================================================================
*/

/*
 Part 1: Premium Borders for Order Panel Inputs
*/

/* Targets the Link, Quantity, and Drip-Feed inputs on the main order page in dark mode */
[data-theme="dark"] .net6ix-smmflare-theme .smmflare-form-group input.net6ix-link,
[data-theme="dark"] .net6ix-smmflare-theme .smmflare-form-group input.net6ix-qty,
[data-theme="dark"] .net6ix-smmflare-theme .smmflare-form-group input.net6ix-drip-feed-input {
    border: 1px solid #555; /* A brighter, but not white, border for better visibility */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effect */
}

/*
==============================================
Part 2: Styling the "My Account" Page (CORRECTED & DYNAMIC)
==============================================
*/

/* Main wrapper now uses the theme's background variable */
.net6ix-my-account-page-wrapper {
    background-color: var(--theme-bg); 
    padding: 50px 20px;
}

/* The main card now uses the theme's card and border variables */
.net6ix-my-account-page-wrapper .net6ix-smmflare-theme {
    max-width: 550px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Styling for the user avatar */
.net6ix-my-account-page-wrapper .net6ix-user-avatar img {
    border-radius: 50%;
    border: 3px solid #00A3FF;
}

/* Removes the card-in-card look by making the inner boxes transparent */
.net6ix-my-account-page-wrapper .smmflare-order-box {
    background-color: transparent;
    border: none;
    padding: 0;
}

/* Style the buttons to be dark grey like the screenshot */
.net6ix-my-account-page-wrapper .net6ix-place-order {
    background-color: #3a3a3a !important;  /* <-- Added !important */
    border: 1px solid #555555 !important;   /* <-- Added !important */
    font-weight: 600;
}

/* Hover effect for the new dark buttons */
.net6ix-my-account-page-wrapper .net6ix-place-order:hover {
    background-color: #4f4f4f !important; /* <-- Added !important */
}

/*
================================================
== FINAL FIX for My Account Page Buttons ==
================================================
*/

/* This is a more direct and forceful selector to override any theme styles */
.net6ix-my-account-page-wrapper form button[type="submit"] {
    /* Applying all the necessary button styles directly */
    width: 100% !important;
    background-color: #3a3a3a !important;
    border: 1px solid #555555 !important;
    color: #ffffff !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 15px !important;
    transition: background-color 0.2s ease !important;
}

/* Hover effect for the new dark buttons */
.net6ix-my-account-page-wrapper form button[type="submit"]:hover {
    background-color: #4f4f4f !important;
    color: #ffffff !important;
}

/* --- Styles for Tier Selection in Country Modal (REVISED) --- */
.net6ix-tier-selector {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 5px 10px 15px 10px;
}

/* Base style for the tier "button" */
.country-tier-option {
    background: var(--card-bg) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Style for the tier button when it is selected (active) */
.country-tier-option.is-selected {
    background-color: var(--primary-accent) !important;
    border-color: var(--primary-accent) !important;
    color: var(--primary-accent-text) !important;
}

hr.tier-separator {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 0 10px 10px 10px;
}

/* --- FIX for Country & Tier Checkbox Styling (REVISED) --- */
.net6ix-pop-out-options .country-option {
    background: var(--card-bg);
    margin: 10px 0;
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
    color: var(--theme-text);
    border-radius: 12px;
    text-align: left;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.net6ix-pop-out-options .country-option:hover {
    background: var(--theme-bg);
}

/* --- Custom Checkbox Visibility CSS from previous fix --- */
.net6ix-pop-out-options .country-option input[type="checkbox"],
.net6ix-pop-out-options .country-tier-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-color: var(--theme-bg);
    border: 2px solid var(--input-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, border-color 0.2s;
}

.net6ix-pop-out-options .country-option:hover input[type="checkbox"],
.net6ix-pop-out-options .country-tier-option:hover input[type="checkbox"] {
    border-color: var(--primary-accent);
}

.net6ix-pop-out-options .country-option input[type="checkbox"]:checked,
.net6ix-pop-out-options .country-tier-option input[type="checkbox"]:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.country-tier-option.is-selected input[type="checkbox"] {
    border-color: var(--primary-accent-text); /* White border on blue background */
}

.country-tier-option.is-selected input[type="checkbox"]:checked {
    background-color: var(--primary-accent-text); /* White background for checkmark */
}

.net6ix-pop-out-options .country-option input[type="checkbox"]:checked::after,
.net6ix-pop-out-options .country-tier-option input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: solid var(--primary-accent-text);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    position: absolute;
    left: 6px;
    top: 2px;
}

.country-tier-option.is-selected input[type="checkbox"]:checked::after {
    border-color: var(--primary-accent); /* Blue checkmark on white background */
}

.net6ix-pop-out-options .country-tier-option input[type="checkbox"]:indeterminate {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}
.country-tier-option.is-selected input[type="checkbox"]:indeterminate {
    background-color: var(--primary-accent-text);
}

.net6ix-pop-out-options .country-tier-option input[type="checkbox"]:indeterminate::after {
    content: '';
    display: block;
    width: 10px;
    height: 3px;
    background-color: var(--primary-accent-text);
    position: absolute;
    left: 3px;
    top: 6px;
}
.country-tier-option.is-selected input[type="checkbox"]:indeterminate::after {
     background-color: var(--primary-accent);
}

/* --- 11. SOCIAL LOGIN BUTTONS --- */
.net6ix-auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--theme-text-secondary);
    margin: 20px 0;
}

.net6ix-auth-separator::before,
.net6ix-auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--card-border);
}

.net6ix-auth-separator:not(:empty)::before {
    margin-right: .5em;
}

.net6ix-auth-separator:not(:empty)::after {
    margin-left: .5em;
}

.net6ix-google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--theme-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.net6ix-google-login-btn:hover {
    background-color: var(--theme-bg);
    border-color: var(--input-focus-border);
}
.net6ix-google-login-btn img {
    width: 18px;
    height: 18px;
}

/* --- 13. DRIP-FEED STYLES --- */
.net6ix-drip-feed-wrapper {
    border-top: 1px solid var(--card-border);
    margin-top: 15px;
    padding-top: 15px;
}
.drip-feed-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0 !important;
}
.drip-feed-toggle label {
    margin-bottom: 0 !important;
    font-weight: 600;
    cursor: pointer;
}
#net6ix-drip-feed-check {
    width: 18px;
    height: 18px;
}
.net6ix-drip-feed-options {
    display: none;
    background-color: var(--theme-bg);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}
.drip-feed-summary {
    font-size: 13px;
    color: var(--theme-text-secondary);
    margin-top: 10px;
}
.drip-feed-summary p {
    margin: 4px 0;
}
.drip-feed-label {
    display: inline-block;
    background-color: var(--info-accent);
    color: var(--info-accent-text);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Add this to the end of the net6ix-v3.5.css file */

/* --- 12. FRONTEND USER NOTIFICATIONS --- */
.net6ix-user-notification {
    position: relative;
    padding: 15px 40px 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.net6ix-user-notification--info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
.net6ix-user-notification--success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.net6ix-user-notification--warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.net6ix-user-notification--danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.net6ix-notification-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    padding: 5px;
    color: inherit;
}
.net6ix-notification-close:hover {
    opacity: 1;
}

/* Add this to the end of the file */

/* --- 14. USER NOTIFICATION BELL --- */
.net6ix-notification-bell-area {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1005;
}
.net6ix-notification-bell-icon {
    position: relative;
    cursor: pointer;
    font-size: 24px;
    background: var(--card-bg);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid var(--card-border);
}
.net6ix-notification-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--danger-accent);
    color: var(--danger-accent-text);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.net6ix-notifications-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    max-height: 400px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.net6ix-notifications-header {
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--card-border);
    color: var(--theme-text);
}
.net6ix-notifications-list {
    overflow-y: auto;
    max-height: 340px;
}
.net6ix-notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--card-border);
    font-size: 14px;
    color: var(--theme-text-secondary);
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}
.net6ix-notification-item:last-child {
    border-bottom: none;
}
.net6ix-notification-item:not(.is-empty):hover {
    background-color: var(--theme-bg);
    color: var(--theme-text);
}
.net6ix-notification-item strong {
    color: var(--theme-text);
    font-weight: 500;
}
.net6ix-notification-item.is-empty {
    text-align: center;
    padding: 20px;
    color: var(--theme-text-secondary);
}

/* --- 15. MY ACCOUNT API SETTINGS --- */
.net6ix-my-account-page-wrapper .net6ix-api-key-wrapper {
    margin-top: 20px;
}
.net6ix-my-account-page-wrapper .net6ix-api-key-wrapper label {
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-text);
    margin-bottom: 8px;
    display: block;
}
.net6ix-my-account-page-wrapper .net6ix-api-key-input-group {
    display: flex;
    align-items: center;
}
.net6ix-my-account-page-wrapper .net6ix-api-key-input-group input[readonly] {
    flex-grow: 1;
    background-color: var(--theme-bg) !important;
    border: 1px solid var(--card-border);
    color: var(--theme-text-secondary) !important;
    border-radius: 6px 0 0 6px;
    padding: 10px;
    font-size: 14px;
    font-family: monospace;
}
.net6ix-my-account-page-wrapper #net6ix-copy-api-key-btn {
    background-color: #3a3a3a;
    border: 1px solid #555555;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-left: none;
}
.net6ix-my-account-page-wrapper #net6ix-copy-api-key-btn:hover {
    background-color: #4f4f4f;
}

/* --- 16. API DOCS PAGE --- */
.net6ix-api-docs-wrapper .smmflare-order-box {
    background-color: var(--card-bg);
}
.net6ix-api-docs-wrapper .api-details-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px 15px; /* Vertical gap, Horizontal gap */
    align-items: center;
    font-size: 14px;
}
.net6ix-api-docs-wrapper .api-detail-item strong {
    color: var(--theme-text-secondary);
}
.net6ix-api-docs-wrapper .api-detail-item code {
    background-color: var(--theme-bg);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    word-break: break-all;
}
.net6ix-api-docs-wrapper .api-detail-item a {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 500;
}
.net6ix-api-docs-wrapper .api-action-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border);
}
.net6ix-api-docs-wrapper .api-action-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.net6ix-api-docs-wrapper .api-action-section h4 {
    margin: 0 0 5px 0;
    color: var(--theme-text);
    font-size: 18px;
}
.net6ix-api-docs-wrapper .api-action-description {
    font-size: 14px;
    color: var(--theme-text-secondary);
    margin-top: 0;
}
.net6ix-api-docs-wrapper .api-action-section strong {
    display: block;
    margin: 15px 0 8px 0;
    font-size: 14px;
}
.net6ix-api-docs-wrapper .api-params-table {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px 15px;
    font-size: 14px;
    background: var(--theme-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 15px;
}
.net6ix-api-docs-wrapper .api-params-table code {
    font-weight: 500;
    color: var(--theme-text);
}
.net6ix-api-docs-wrapper .api-params-table div:nth-child(odd) {
    font-family: monospace;
}
.net6ix-api-docs-wrapper .api-params-table div:nth-child(even) {
    color: var(--theme-text-secondary);
}
.net6ix-api-docs-wrapper pre {
    background-color: var(--theme-bg);
    border: 1px solid var(--card-border);
    padding: 15px;
    border-radius: 6px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--theme-text);
    font-size: 13px;
}

/* MOBILE FIXES for API Docs Page */
@media (max-width: 600px) {
    .net6ix-api-docs-wrapper .api-details-grid,
    .net6ix-api-docs-wrapper .api-params-table {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 8px;
    }
    .net6ix-api-docs-wrapper .api-params-table div:nth-child(even) {
        margin-bottom: 8px; /* Add space between parameter descriptions */
    }
}

/* --- 17. FIX: Add Funds Modal Scroll --- */

/* Make the main panel a flex container with a maximum height */
#net6ix-add-funds-panel-container {
    display: flex;
    flex-direction: column;
    max-height: 85vh; /* Limits modal height to 85% of the screen's height */
}

/* Allow the view containing the list to be flexible */
.net6ix-funds-view {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* This prevents the child from overflowing the parent flex container */
    min-height: 0; 
}

/* Make the list itself scrollable when it overflows */
#net6ix-payment-method-list {
    overflow-y: auto; /* Add vertical scrollbar only when needed */
    flex-grow: 1;
    padding-right: 5px; /* Adds a little space for the scrollbar */
}

/* --- 18. SERVICE LIST PAGE STYLES --- */
.net6ix-service-list-container .smmflare-header {
    text-align: center;
    margin-bottom: 30px;
}

.net6ix-service-list-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for mobile */
    gap: 20px;
}

.net6ix-service-list-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.net6ix-service-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.net6ix-service-list-card .card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--card-border);
}

.net6ix-service-list-card .service-id {
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.net6ix-service-list-card .service-name {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--theme-text);
}

.net6ix-service-list-card .service-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.net6ix-service-list-card .price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--theme-text);
}

.net6ix-service-list-card .price-unit {
    font-size: 13px;
    color: var(--theme-text-secondary);
}

.net6ix-service-list-card .card-body {
    padding: 20px;
    flex-grow: 1;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-detail-item {
    background-color: var(--theme-bg);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.service-detail-item .label {
    display: block;
    font-size: 11px;
    color: var(--theme-text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.service-detail-item .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text);
}

.net6ix-service-list-card .card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 10px;
}

.service-button {
    flex-grow: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.service-button.description-btn {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--theme-text);
}

.service-button.buy-btn {
    background-color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent-text);
}

.service-button.buy-btn:hover {
    background-color: var(--primary-accent-hover);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .net6ix-service-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .net6ix-service-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- 19. SERVICE LIST FILTER CONTROLS --- */
.net6ix-service-list-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.net6ix-service-list-filters .filter-item {
    flex: 1 1 200px; /* Allow items to grow and shrink */
}

.net6ix-service-list-filters .search-item {
    flex-grow: 2; /* Make search bar take more space */
}

.net6ix-service-list-filters select,
.net6ix-service-list-filters input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--theme-text);
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
}

.net6ix-service-list-filters select:focus,
.net6ix-service-list-filters input[type="search"]:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px var(--input-focus-shadow);
}

/* --- 20. DESCRIPTION MODAL CONTENT --- */
.description-modal-content {
    padding: 10px 20px 20px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--theme-text);
}

/* --- 21. MODERN ORDER PANEL & MODAL --- */
#net6ix-modern-service-grid .net6ix-loading {
    text-align: center;
    padding: 40px;
    color: var(--theme-text-secondary);
}

#net6ix-order-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

#net6ix-order-modal {
    background: var(--card-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 25px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#net6ix-order-modal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#net6ix-order-modal .modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--theme-text);
}
#net6ix-order-modal .modal-close {
    background: none; border: none; font-size: 28px; cursor: pointer; line-height: 1; padding: 0 5px; color: var(--theme-text-secondary);
}
#net6ix-order-modal .modal-body {
    padding: 20px;
    overflow-y: auto;
}

/* --- Modern Panel Filter Cards --- */
.net6ix-modern-filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.net6ix-modern-filters-grid .filter-item label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-text);
    margin-bottom: 8px;
}
@media (min-width: 768px) {
    .net6ix-modern-filters-grid {
        grid-template-columns: 2fr 1fr 1fr;
        align-items: end;
    }
}

/* --- FIX: Modern Panel Search & Filter Styles --- */
.net6ix-modern-panel-wrapper .net6ix-search-container {
    margin-bottom: 20px;
}
    /* --- Find this rule (around line 1075) and replace it completely --- */
.net6ix-modern-panel-wrapper #service-list-search-input {
    width: 90% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background-color: var(--input-bg) !important;
    border: 1px solid var(--primary-accent) !important;
    color: var(--theme-text) !important;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
}

.net6ix-modern-filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.net6ix-modern-filters-grid .filter-item label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-text);
    margin-bottom: 8px;
}
.net6ix-modern-filters-grid .smmflare-custom-select-trigger {
    font-size: 14px !important;
    font-weight: normal !important;
}
@media (min-width: 768px) {
    .net6ix-modern-filters-grid {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

/* --- FIX 2.0: Modern Panel Search & Filter Styles --- */
.net6ix-modern-panel-wrapper .net6ix-search-container {
    margin-bottom: 20px;
}
.net6ix-modern-panel-wrapper #service-list-search-input {
    width: 90%;
    box-sizing: border-box;
    background-color: var(--input-bg) !important;
    border: 1px solid var(--primary-accent) !important; /* <--- FIXED BORDER COLOR */
    color: var(--theme-text) !important;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
}
.net6ix-modern-panel-wrapper #service-list-search-input:focus {
    border-color: var(--input-focus-border) !important;
    box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
}
.net6ix-modern-filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.net6ix-modern-filters-grid .filter-item label {
    display: block; font-size: 14px; font-weight: 500; color: var(--theme-text); margin-bottom: 8px;
}
.net6ix-modern-filters-grid .smmflare-custom-select-trigger {
    font-size: 14px !important; font-weight: normal !important;
}
@media (min-width: 768px) {
    .net6ix-modern-filters-grid {
        grid-template-columns: 1fr 1fr; align-items: end;
    }
}

/* --- FIX 2.0: Modern Place Order Modal Redesign --- */
#net6ix-order-modal-overlay {
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s;
}
#net6ix-order-modal-overlay.active {
    opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s 0s;
}
#net6ix-order-modal {
    background: #161B22; /* Specific dark color from screenshot */
    color: #c9d1d9;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#net6ix-order-modal-overlay.active #net6ix-order-modal {
    transform: translateY(0);
}
#net6ix-order-modal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #30363d;
    position: relative;
    text-align: center;
}
#net6ix-order-modal .modal-close {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #8b949e;
}
#net6ix-order-modal .modal-title-wrapper h2 {
    margin: 0; font-size: 16px; font-weight: 600;
}
#net6ix-order-modal .modal-title-wrapper .modal-subtitle {
    margin: 2px 0 0 0; font-size: 13px; color: #8b949e;
}
#net6ix-order-modal .modal-body {
    padding: 20px; overflow-y: auto;
}
#net6ix-order-modal .smmflare-form-group label {
    color: #8b949e; font-size: 13px;
}
#net6ix-order-modal .smmflare-form-group input,
#net6ix-order-modal .smmflare-form-group textarea {
    background-color: #0d1117 !important; border: 1px solid #30363d; color: #c9d1d9 !important;
}
.net6ix-drip-feed-wrapper {
    display: flex; justify-content: space-between; align-items: center; margin-top: 20px;
}
.net6ix-switch-label {
    font-size: 14px; font-weight: 500; color: #c9d1d9;
}
.net6ix-switch {
    position: relative; display: inline-block; width: 44px; height: 24px;
}
.net6ix-switch input {
    opacity: 0; width: 0; height: 0;
}
.net6ix-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #30363d; transition: .4s; border-radius: 24px;
}
.net6ix-slider:before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .net6ix-slider {
    background-color: #238636;
}
input:checked + .net6ix-slider:before {
    transform: translateX(20px);
}
#net6ix-order-modal .net6ix-drip-feed-options {
    background-color: #0d1117; margin-top: 10px;
}
#net6ix-order-modal .net6ix-total {
    display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #30363d;
}
#net6ix-order-modal .net6ix-total span {
    font-size: 14px; color: #8b949e;
}
#net6ix-order-modal .net6ix-total strong {
    font-size: 18px; font-weight: 600; color: #c9d1d9;
}
#net6ix-order-modal .modal-footer {
    padding: 20px; border-top: 1px solid #30363d;
}
#net6ix-order-modal .final-order-btn {
    background-color: #238636 !important; /* Green button from screenshot */
    margin: 0;
}
#net6ix-order-modal .net6ix-msg {
    text-align: center; margin-top: 15px; font-weight: 500;
}

/* --- FINAL FIX: Modern Panel Unified Controls Card & Modal Redesign --- */
    .net6ix-modern-panel-wrapper .smmflare-order-box .smmflare-form-group input[type="search"] {
    width: 90%;
    box-sizing: border-box;
    background-color: var(--input-bg) !important;
    border: 1px solid var(--primary-accent) !important; /* This now matches the button color */
    color: var(--theme-text) !important;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.net6ix-modern-panel-wrapper .smmflare-order-box .smmflare-form-group input[type="search"]:focus {
    outline: none;
    border-color: var(--input-focus-border) !important;
    box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
}

.net6ix-modern-panel-wrapper .smmflare-order-box .smmflare-custom-select-trigger {
    font-size: 14px !important;
    font-weight: normal !important;
}

#net6ix-order-modal-overlay {
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s;
}
#net6ix-order-modal-overlay.active {
    opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s 0s;
}
#net6ix-order-modal {
    background: #161B22;
    color: #c9d1d9;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
#net6ix-order-modal-overlay.active #net6ix-order-modal {
    transform: translateY(0);
}
#net6ix-order-modal .modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #30363d;
    position: relative;
    text-align: center;
    flex-shrink: 0;
}
#net6ix-order-modal .modal-close {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #8b949e;
}
#net6ix-order-modal .modal-title-wrapper h2 {
    margin: 0; font-size: 16px; font-weight: 600;
}
#net6ix-order-modal .modal-title-wrapper .modal-subtitle {
    margin: 2px 0 0 0; font-size: 13px; color: #8b949e;
}
#net6ix-order-modal .modal-body {
    padding: 20px; overflow-y: auto;
}
#net6ix-order-modal .smmflare-form-group label {
    color: #8b949e; font-size: 13px;
}
#net6ix-order-modal .smmflare-form-group input,
#net6ix-order-modal .smmflare-form-group textarea {
    background-color: #0d1117 !important; border: 1px solid #30363d; color: #c9d1d9 !important;
}
.net6ix-drip-feed-wrapper {
    display: flex; justify-content: space-between; align-items: center; margin-top: 20px;
}
.net6ix-switch-label {
    font-size: 14px; font-weight: 500; color: #c9d1d9;
}
.net6ix-switch {
    position: relative; display: inline-block; width: 44px; height: 24px;
}
.net6ix-switch input {
    opacity: 0; width: 0; height: 0;
}
.net6ix-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #30363d; transition: .4s; border-radius: 24px;
}
.net6ix-slider:before {
    position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .net6ix-slider {
    background-color: #238636;
}
input:checked + .net6ix-slider:before {
    transform: translateX(20px);
}
#net6ix-order-modal .net6ix-drip-feed-options {
    background-color: #0d1117; margin-top: 10px;
}
#net6ix-order-modal .net6ix-total {
    display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #30363d;
}
#net6ix-order-modal .net6ix-total span {
    font-size: 14px; color: #8b949e;
}
#net6ix-order-modal .net6ix-total strong {
    font-size: 18px; font-weight: 600; color: #c9d1d9;
}
#net6ix-order-modal .modal-footer {
    padding: 20px; border-top: 1px solid #30363d; flex-shrink: 0;
}
#net6ix-order-modal .final-order-btn {
    background-color: #238636 !important;
    margin: 0;
}
#net6ix-order-modal .net6ix-msg {
    text-align: center; margin-top: 15px; font-weight: 500;
}

/* --- Add this entire block to the end of the file --- */
@media (min-width: 768px) {
    #net6ix-order-modal-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #net6ix-order-modal {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        width: 90%;
        max-width: 450px;
        border-radius: 12px;
        transform: scale(0.95);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    #net6ix-order-modal-overlay.active #net6ix-order-modal {
         transform: scale(1);
         opacity: 1;
    }
}

/* --- FIX: Z-Index for Modal Over Pop-out --- */
#net6ix-pop-out-overlay {
    z-index: 100001 !important;
}

#net6ix-pop-out-sheet {
    z-index: 100002 !important;
}

/* --- DEFINITIVE FIX: Modern Panel Search Input Border --- */
.net6ix-modern-panel-wrapper .smmflare-order-box .smmflare-form-group input#service-list-search-input {
    border: 1px solid var(--primary-accent) !important;
}

/* --- 22. HOMEPAGE POPUP NOTIFICATION --- */
#net6ix-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100005; /* Higher than other modals */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

#net6ix-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

#net6ix-popup-modal {
    position: relative;
    background-color: var(--card-bg); /* Default background */
    color: var(--theme-text);        /* Default text color */
    border-radius: 12px;
    max-height: 80vh;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden; /* Prevent content overflow */
}

#net6ix-popup-overlay.active #net6ix-popup-modal {
    opacity: 1;
    transform: scale(1);
}

.net6ix-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    color: inherit; /* Inherit color from modal theme */
    z-index: 10;
}
.net6ix-popup-close:hover {
    opacity: 1;
}

#net6ix-popup-content {
    padding: 30px 25px 20px 25px; /* Adjust padding */
    overflow-y: auto; /* Allow scrolling for long content */
    line-height: 1.6;
    font-size: 15px;
}

#net6ix-popup-content h2,
#net6ix-popup-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Theme Styles */
#net6ix-popup-modal[data-popup-theme="red"] {
    background-color: #dc3545; /* Bootstrap danger red */
    color: #ffffff;
}

#net6ix-popup-modal[data-popup-theme="blue"] {
    background-color: #0d6efd; /* Bootstrap primary blue */
    color: #ffffff;
}

#net6ix-popup-modal[data-popup-theme="black"] {
    background-color: #212529; /* Bootstrap dark */
    color: #ffffff;
}

#net6ix-popup-modal[data-popup-theme="white"] {
    background-color: #ffffff;
    color: #212529; /* Bootstrap dark text */
    border: 1px solid #dee2e6; /* Light border for white theme */
}

/* Style for the main close button at the bottom */
.net6ix-popup-main-close-btn {
    display: block;
    width: calc(100% - 40px); /* Full width minus padding */
    margin: 0 20px 20px 20px; /* Spacing */
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent background */
    color: inherit; /* Inherit text color from theme */
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.net6ix-popup-main-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Specific text color for close button on white theme */
#net6ix-popup-modal[data-popup-theme="white"] .net6ix-popup-main-close-btn {
     background-color: #e9ecef; /* Light grey background */
     color: #495057; /* Darker text */
}
#net6ix-popup-modal[data-popup-theme="white"] .net6ix-popup-main-close-btn:hover {
     background-color: #ced4da;
}

/* --- FIX: Force Theme Background on Body for Panel Pages --- */
body:has(.net6ix-order-wrapper), /* Targets pages with the main order panel */
body:has(.net6ix-my-orders-container) /* Targets pages with the 'My Orders' shortcode */
 {
    background-color: var(--theme-bg, #f8f9fa) !important; /* Use theme variable with fallback */
}

/* Optional: Ensure no other theme wrappers interfere */
/* You might need this if your theme adds a specific #page or .site wrapper with its own background */
/*
body:has(.net6ix-order-wrapper) #page,
body:has(.net6ix-my-orders-container) #page,
body:has(.net6ix-order-wrapper) .site,
body:has(.net6ix-my-orders-container) .site {
    background-color: transparent !important;
}
*/

/* --- Add to end of net6ix-v3.5.css --- */

/* --- Email 2FA My Account Styles --- */
#net6ix-email-2fa-section .smmflare-form-group {
    margin-bottom: 20px;
}
#net6ix-email-2fa-section button[type="submit"] {
    margin-top: 5px; /* Adjust spacing if needed */
}

/* --- Email 2FA Login Field Style --- */
.login-2fa label,
.login-2fa input {
    width: 100%; /* Make it match other login fields */
}
.net6ix-auth-wrapper input[readonly] {
    background-color: var(--theme-bg) !important;
    cursor: not-allowed;
    opacity: 0.7;
}


/* --- ADD THIS NEW SECTION FOR RECAPTCHA --- */
.net6ix-recaptcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    /* This scales the reCAPTCHA box down to fit smaller forms */
    transform: scale(0.9);
    transform-origin: center;
}
/* --- END OF NEW SECTION --- */

/* --- START: ADDED CODE --- */
/* --- 23. NET6IX ADS FORM STYLES --- */
.duration-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.timer-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: var(--theme-text-secondary);
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.smmflare-form-group select.net6ix-ads-limit-series,
.smmflare-form-group input.net6ix-ads-limit-timeout {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--input-bg) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--theme-text) !important;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}
.smmflare-form-group select.net6ix-ads-limit-series:focus,
.smmflare-form-group input.net6ix-ads-limit-timeout:focus {
    outline: none;
    border-color: var(--input-focus-border) !important;
    box-shadow: 0 0 0 3px var(--input-focus-shadow) !important;
}

 .smmflare-form-group input[type="range"].net6ix-ads-duration {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 20px; /* Give space for the thumb */
    background: transparent; /* Make main element transparent */
    outline: none;
    padding: 0;
    cursor: pointer;
}

/* The Track (the 'white line') for Webkit browsers (Chrome, Safari) */
.smmflare-form-group input[type="range"].net6ix-ads-duration::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #f1f1f1; /* The white line color */
    border-radius: 5px;
}

/* The Thumb (the blue circle) for Webkit */
.smmflare-form-group input[type="range"].net6ix-ads-duration::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-accent);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -8px; /* Pulls the thumb up to sit on top of the 4px track */
}

/* The Track for Firefox */
.smmflare-form-group input[type="range"].net6ix-ads-duration::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #f1f1f1;
    border-radius: 5px;
    border: none;
}

/* The Thumb for Firefox */
.smmflare-form-group input[type="range"].net6ix-ads-duration::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* FIX: Force theme color on dropdown options */
.smmflare-form-group select.net6ix-ads-limit-series option {
    background-color: var(--card-bg);
    color: var(--theme-text);
}

/* FIX: Style new toggles in classic view */
.net6ix-classic-panel-wrapper .drip-feed-toggle label {
    font-weight: normal !important;
}
.net6ix-classic-panel-wrapper .drip-feed-toggle input[type="checkbox"] {
     width: auto !important;
}
/* --- END: ADDED CODE --- */

/* --- 24. INFO ICONS --- */
.net6ix-info-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--theme-text-secondary);
    color: var(--theme-bg);
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
    font-family: monospace;
    cursor: help;
    flex-shrink: 0; /* Prevents icon from shrinking */
}
.net6ix-info-icon:hover {
    background-color: var(--primary-accent);
    color: var(--primary-accent-text);
}

/* Make labels flex to align icon */
.smmflare-form-group label,
.net6ix-switch-label {
    display: inline-flex; /* Use inline-flex */
    align-items: center;  /* Vertically center */
    flex-wrap: wrap;      /* Allow wrapping if needed */
}

/* Modern modal switch label needs specific targeting */
.net6ix-drip-feed-wrapper .net6ix-switch-label {
     display: inline-flex;
     align-items: center;
     flex-grow: 1; /* Allow it to take space */
}

/* Classic panel checkbox label fix */
.net6ix-classic-panel-wrapper .drip-feed-toggle label {
    display: inline-flex;
    align-items: center;
}


/* Withdrawal Status Colors */
.net6ix-status-rejected { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Dashboard Card Tweaks */
.net6ix-affiliate-wrapper .smmflare-stats-grid { margin-bottom: 20px; }

/* Form Elements */
#net6ix-affiliate-withdraw-form label { font-weight: 600; margin-bottom: 5px; display: block; }
#net6ix-affiliate-withdraw-form input, 
#net6ix-affiliate-withdraw-form select { 
    width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--card-border); 
    background-color: var(--input-bg); color: var(--theme-text);
}
#net6ix-affiliate-withdraw-form .net6ix-place-order { margin-top: 15px; width: 100%; }
