/**
 * SMM STUDIO - ONGTRUM CLONE STYLING
 * Modern Glassmorphic Dark UI / Responsive Design System
 * Adheres to ui-ux-pro-max & ui-styling specifications
 */

:root {
    --smm-bg-page: #090d16;
    --smm-bg-surface: #0f172a;
    --smm-bg-card: #141e33;
    --smm-bg-hover: #1e293b;
    --smm-border: rgba(255, 255, 255, 0.08);
    --smm-border-focus: #3b82f6;
    --smm-primary: #3b82f6;
    --smm-primary-hover: #2563eb;
    --smm-primary-glow: rgba(59, 130, 246, 0.35);
    --smm-success: #10b981;
    --smm-warning: #f59e0b;
    --smm-danger: #ef4444;
    --smm-text-main: #f8fafc;
    --smm-text-muted: #94a3b8;
    --smm-text-sub: #64748b;
    --smm-radius: 12px;
    --smm-radius-sm: 8px;
    --smm-radius-lg: 16px;
    --smm-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SMM Studio is a dedicated Dark Cyber Studio (OngTrum Pro standard) */
.smm-studio-container {
    --smm-bg-page: #070b14;
    --smm-bg-surface: #0f172a;
    --smm-bg-card: #141e33;
    --smm-bg-hover: #1e293b;
    --smm-border: rgba(255, 255, 255, 0.09);
    --smm-border-focus: #3b82f6;
    --smm-primary: #3b82f6;
    --smm-primary-hover: #2563eb;
    --smm-primary-glow: rgba(59, 130, 246, 0.35);
    --smm-text-main: #ffffff;
    --smm-text-muted: #cbd5e1;
    --smm-text-sub: #94a3b8;
}

/* ==========================================================================
   1. MASTER CATALOG SEGMENTED SWITCHER (2 MỤC CHÍNH)
   ========================================================================== */
.product-mode-master-nav {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.product-mode-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px;
    border-radius: var(--smm-radius-lg);
    border: 1px solid var(--smm-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mode-pill-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--smm-radius);
    background: transparent;
    border: 1px solid transparent;
    color: var(--smm-text-muted);
    cursor: pointer;
    transition: var(--smm-transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.mode-pill-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--smm-text-main);
}

.mode-pill-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: var(--smm-text-main);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mode-pill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
    transition: var(--smm-transition);
}

.mode-pill-icon.smm-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.mode-pill-btn.active .mode-pill-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.mode-pill-btn.active .mode-pill-icon.smm-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.mode-pill-info {
    flex: 1;
    min-width: 0;
}

.mode-pill-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.mode-pill-desc {
    display: block;
    font-size: 12.5px;
    color: var(--smm-text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mode-pill-btn.active .mode-pill-desc {
    color: #93c5fd;
}

.mode-pill-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--smm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mode-pill-badge.smm-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.mode-pill-btn.active .mode-pill-badge {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   2. ONGTRUM SMM STUDIO LAYOUT
   ========================================================================== */
.smm-studio-wrapper {
    animation: smmFadeIn 0.35s ease-out;
}

@keyframes smmFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.smm-studio-container {
    background: var(--smm-bg-surface);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius-lg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* Studio Header & Balance Strip */
.smm-header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid var(--smm-border);
    flex-wrap: wrap;
    gap: 12px;
}

.smm-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smm-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.smm-brand-text h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--smm-text-main);
    margin: 0;
    letter-spacing: -0.3px;
}

.smm-brand-text span {
    font-size: 12px;
    color: var(--smm-text-sub);
}

.smm-user-balance-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 30px;
}

.smm-balance-label {
    font-size: 12px;
    color: var(--smm-text-muted);
}

.smm-balance-value {
    font-size: 15px;
    font-weight: 700;
    color: #10b981;
}

.smm-recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--smm-transition);
}

.smm-recharge-btn:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Studio Main 2-Column Grid */
.smm-layout-grid {
    display: grid;
    grid-template-columns: 290px 1fr;
    min-height: 720px;
}

/* ==========================================================================
   3. LEFT SIDEBAR: PLATFORMS & SERVICES (HIGH CONTRAST & CRISP TYPOGRAPHY)
   ========================================================================== */
.smm-sidebar {
    background: #0b1120;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.smm-search-box {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f172a;
}

.smm-search-input-wrap {
    position: relative;
}

.smm-search-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}

.smm-search-input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 500;
    outline: none;
    transition: var(--smm-transition);
}

.smm-search-input::placeholder {
    color: #64748b;
}

.smm-search-input:focus {
    border-color: #3b82f6;
    background: #243248;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.smm-platform-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 10px;
    max-height: 760px;
}

.smm-platform-list::-webkit-scrollbar {
    width: 6px;
}

.smm-platform-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* Platform Accordion Item */
.smm-platform-group {
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.smm-platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.18s ease;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.smm-platform-header:hover {
    background: #253349;
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.smm-platform-header.expanded {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: #60a5fa;
    color: #60a5fa !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.smm-platform-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smm-platform-svg-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.smm-platform-svg-icon svg {
    width: 100%;
    height: 100%;
}

.smm-badge-count {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    background: #334155;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smm-platform-header.expanded .smm-badge-count {
    background: rgba(59, 130, 246, 0.35);
    color: #93c5fd !important;
    border-color: rgba(96, 165, 250, 0.5);
}

.smm-arrow-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.smm-platform-header.expanded .smm-arrow-icon {
    transform: rotate(90deg);
    color: #60a5fa;
}

/* Services sub-list */
.smm-services-sublist {
    display: none;
    padding: 8px 8px 10px 8px;
    background: #090e1a;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    margin: 6px 0 10px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.smm-platform-group.active .smm-services-sublist {
    display: block;
}

.smm-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #f1f5f9 !important; /* Siêu rõ nét, sáng trắng trên nền tối */
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.18s ease;
    margin-bottom: 6px;
    position: relative;
}

.smm-service-item:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.6);
    color: #ffffff !important;
    transform: translateX(4px);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.smm-service-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.55) 0%, rgba(30, 41, 59, 0.85) 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    border: 1px solid #3b82f6 !important;
    border-left: 4px solid #60a5fa !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.smm-service-tag {
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5 !important;
    border: 1px solid rgba(239, 68, 68, 0.45);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-left: 6px;
}

.smm-service-tag.sale {
    background: rgba(16, 185, 129, 0.25);
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   4. RIGHT ORDER DESK (CHÍNH)
   ========================================================================== */
.smm-desk {
    display: flex;
    flex-direction: column;
    background: var(--smm-bg-surface);
}

/* OngTrum Dual Navigation Tabs: [+] Thêm mới & [≡] Danh sách */
.smm-tabs-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid var(--smm-border);
    flex-wrap: wrap;
    gap: 12px;
}

.smm-desk-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.smm-desk-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--smm-text-muted);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--smm-transition);
}

.smm-desk-tab-btn:hover {
    color: var(--smm-text-main);
}

.smm-desk-tab-btn.active {
    color: var(--smm-primary);
    border-bottom-color: var(--smm-primary);
    background: rgba(59, 130, 246, 0.05);
}

.smm-desk-breadcrumb {
    font-size: 13px;
    color: var(--smm-text-sub);
    display: flex;
    align-items: center;
    gap: 6px;
}

.smm-desk-breadcrumb span {
    color: var(--smm-text-main);
    font-weight: 600;
}

/* Desk Content Area */
.smm-desk-content {
    padding: 24px;
    flex: 1;
}

.smm-desk-pane {
    display: none;
}

.smm-desk-pane.active {
    display: block;
    animation: smmFadeIn 0.25s ease-out;
}

/* Order Form 2-Column Grid (Form 7 : Guide 5) */
.smm-order-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
}

/* Left Form Box */
.smm-form-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.smm-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smm-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smm-field-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--smm-text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.smm-required-star {
    color: var(--smm-danger);
}

.smm-find-id-btn {
    font-size: 12px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--smm-transition);
}

.smm-find-id-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
}

.smm-input-text {
    width: 100%;
    padding: 12px 16px;
    background: var(--smm-bg-card);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius-sm);
    color: var(--smm-text-main);
    font-size: 14px;
    outline: none;
    transition: var(--smm-transition);
}

.smm-input-text:focus {
    border-color: var(--smm-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.smm-input-hint {
    font-size: 12px;
    color: var(--smm-text-sub);
}

/* ==========================================================================
   4.1 ONGTRUM NOTICE BANNERS (TOP OF FORM)
   ========================================================================== */
.smm-ongtrum-banner-green {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 8px;
    color: #4ade80 !important;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

.smm-ongtrum-banner-blue {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 8px;
    color: #38bdf8 !important;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.1);
}

.smm-blue-link {
    color: #facc15 !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: var(--smm-transition);
}

.smm-blue-link:hover {
    color: #fde047 !important;
    text-decoration: none;
}

/* ==========================================================================
   4.2 ONGTRUM CHANNEL DROPDOWN & LAVENDER NOTES BOX
   ========================================================================== */
.smm-view-toggle {
    display: inline-flex;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
}

.smm-toggle-btn {
    padding: 4px 10px;
    background: transparent;
    border: none;
    border-radius: 16px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.smm-toggle-btn:hover {
    color: #ffffff;
}

.smm-toggle-btn.active {
    background: #2563eb;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
}

.smm-channel-dropdown-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smm-channel-select {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.smm-channel-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background: #243248;
}

.smm-channel-select option {
    background: #0f172a;
    color: #f8fafc;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Lavender / Purple Channel Notes Box (Chuẩn OngTrum) */
.smm-channel-note-box {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.16) 0%, rgba(126, 34, 206, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 10px;
    padding: 16px 18px;
    color: #f3e8ff !important;
    font-size: 13.5px;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.12);
}

.smm-note-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #f1f5f9;
}

.smm-note-bullet i {
    margin-top: 5px;
    font-size: 11px;
    color: #c084fc;
    flex-shrink: 0;
}

.smm-note-bullet span {
    flex: 1;
}

/* ==========================================================================
   5. SERVER SELECTION RADIO CARDS
   ========================================================================== */
.smm-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 4px;
}

.smm-server-list::-webkit-scrollbar {
    width: 4px;
}

.smm-server-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.smm-server-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--smm-bg-card);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius-sm);
    cursor: pointer;
    transition: var(--smm-transition);
    position: relative;
}

.smm-server-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.smm-server-card.selected {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: var(--smm-primary);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.smm-server-radio {
    margin-top: 3px;
    accent-color: var(--smm-primary);
    cursor: pointer;
}

.smm-server-info {
    flex: 1;
    min-width: 0;
}

.smm-server-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 10px;
    flex-wrap: wrap;
}

.smm-server-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--smm-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.smm-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    display: inline-block;
}

.smm-status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    animation: smmPulse 1.8s infinite;
}

@keyframes smmPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.smm-server-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    white-space: nowrap;
}

.smm-server-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.smm-meta-tag {
    font-size: 11.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smm-meta-tag.green {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

.smm-meta-tag.amber {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

.smm-server-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 4px;
}

/* ==========================================================================
   6. REACTIONS PICKER (CẢM XÚC FACEBOOK)
   ========================================================================== */
.smm-reactions-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
    background: var(--smm-bg-card);
    border-radius: var(--smm-radius-sm);
    border: 1px solid var(--smm-border);
}

.smm-reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--smm-transition);
}

.smm-reaction-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.smm-reaction-btn.selected {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--smm-primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.smm-reaction-emoji {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.smm-reaction-btn:hover .smm-reaction-emoji,
.smm-reaction-btn.selected .smm-reaction-emoji {
    transform: scale(1.25);
}

.smm-reaction-name {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--smm-text-muted);
}

.smm-reaction-btn.selected .smm-reaction-name {
    color: #93c5fd;
}

/* ==========================================================================
   7. COMMENTS TEXTAREA & QUICK AMOUNT CHIPS
   ========================================================================== */
.smm-textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    background: var(--smm-bg-card);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius-sm);
    color: var(--smm-text-main);
    font-size: 13.5px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: var(--smm-transition);
}

.smm-textarea:focus {
    border-color: var(--smm-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.smm-chips-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.smm-chip {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--smm-border);
    border-radius: 20px;
    color: var(--smm-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--smm-transition);
}

.smm-chip:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    transform: translateY(-1px);
}

/* Live Total Price & CTA Button */
.smm-pricing-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--smm-radius);
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.smm-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--smm-text-muted);
}

.smm-price-row.total-row {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.smm-total-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--smm-text-main);
}

.smm-total-amount {
    font-size: 22px;
    font-weight: 800;
    color: #38bdf8;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.smm-submit-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--smm-radius-sm);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--smm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.smm-submit-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

.smm-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   8. RIGHT GUIDE PANEL (LƯU Ý SERVER & HƯỚNG DẪN)
   ========================================================================== */
.smm-guide-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.smm-notice-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--smm-radius);
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
}

.smm-notice-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.smm-notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 12px;
}

.smm-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smm-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--smm-text-muted);
    line-height: 1.5;
}

.smm-notice-item i {
    color: #f59e0b;
    margin-top: 3px;
    font-size: 11px;
    flex-shrink: 0;
}

.smm-notice-item strong {
    color: var(--smm-text-main);
}

.smm-instruction-card {
    background: var(--smm-bg-card);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius);
    padding: 18px 20px;
}

.smm-instruction-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--smm-text-main);
    margin-bottom: 10px;
}

.smm-steps-list {
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: var(--smm-text-muted);
    line-height: 1.5;
}

.smm-steps-list li strong {
    color: var(--smm-text-main);
}

/* ==========================================================================
   9. TAB 2: ORDER HISTORY (DANH SÁCH TIẾN TRÌNH ĐƠN HÀNG)
   ========================================================================== */
.smm-history-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.smm-history-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.smm-filter-select {
    padding: 8px 12px;
    background: var(--smm-bg-card);
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius-sm);
    color: var(--smm-text-main);
    font-size: 13px;
    outline: none;
}

.smm-table-responsive {
    overflow-x: auto;
    border-radius: var(--smm-radius-sm);
    border: 1px solid var(--smm-border);
    background: var(--smm-bg-surface);
}

.smm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.smm-table th {
    background: rgba(15, 23, 42, 0.95);
    padding: 12px 14px;
    font-weight: 700;
    color: var(--smm-text-muted);
    border-bottom: 1px solid var(--smm-border);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.smm-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--smm-border);
    color: var(--smm-text-main);
    vertical-align: middle;
}

.smm-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.smm-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.smm-badge-status.processing {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.smm-badge-status.running {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.smm-badge-status.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.smm-badge-status.canceled,
.smm-badge-status.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Modal Find ID */
.smm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.smm-modal-backdrop.open {
    display: flex;
}

.smm-modal-box {
    width: 100%;
    max-width: 500px;
    background: #0f172a;
    border: 1px solid var(--smm-border);
    border-radius: var(--smm-radius);
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: smmFadeIn 0.25s ease-out;
}

.smm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.smm-modal-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--smm-text-main);
}

.smm-modal-close {
    background: transparent;
    border: none;
    color: var(--smm-text-sub);
    font-size: 18px;
    cursor: pointer;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .product-mode-pills {
        grid-template-columns: 1fr;
    }

    .smm-layout-grid {
        grid-template-columns: 1fr;
    }

    .smm-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--smm-border);
        max-height: 400px;
    }

    .smm-order-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .mode-pill-btn {
        padding: 12px 14px;
    }

    .mode-pill-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .mode-pill-title {
        font-size: 14px;
    }

    .smm-desk-content {
        padding: 16px;
    }

    .smm-desk-tab-btn {
        padding: 12px 14px;
        font-size: 12.5px;
    }
}
