/* ==========================================================================
   Module Shop (VIP & Credits) - Styles
   Modern Neo Theme (CS2)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global Layout & Resets for Shop Module
   -------------------------------------------------------------------------- */
.shop-page-wrapper {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1rem 4rem 1rem;
    box-sizing: border-box;
}

/* Force Reset on all select elements in shop to override global style.css float:left */
.shop-page-wrapper select,
.shop-admin-container select {
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 42px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: var(--transparent-4-w, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1)) !important;
    border-radius: var(--br-12, 12px) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding: 0 2.8rem 0 1.1rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 16px !important;
    transition: all 0.2s ease !important;
}

.shop-page-wrapper select:hover,
.shop-admin-container select:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: var(--transparent-6-w, rgba(255, 255, 255, 0.06)) !important;
}

.shop-page-wrapper select:focus,
.shop-admin-container select:focus {
    border-color: #4D70EF !important;
    box-shadow: 0 0 0 3px rgba(77, 112, 239, 0.25) !important;
    outline: none !important;
}

.shop-page-wrapper select option,
.shop-admin-container select option {
    background-color: #161524 !important;
    color: #fff !important;
    padding: 0.6rem 1rem !important;
}

/* Ambient Background Glow */
.shop-ambient-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.16;
    pointer-events: none;
}

.glow-orb-1 {
    width: 480px;
    height: 480px;
    background: #6366f1;
    top: -120px;
    left: 8%;
}

.glow-orb-2 {
    width: 420px;
    height: 420px;
    background: #DD4242;
    top: 40px;
    right: 8%;
}

/* --------------------------------------------------------------------------
   Header Section
   -------------------------------------------------------------------------- */
.shop-top-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    margin-bottom: 2rem;
}

.shop-header-title-box {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.shop-logo-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: var(--br-16, 16px);
    background: linear-gradient(135deg, rgba(77, 112, 239, 0.25), rgba(77, 112, 239, 0.06));
    border: 1px solid rgba(77, 112, 239, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4D70EF;
    box-shadow: 0 8px 24px rgba(77, 112, 239, 0.2);
    flex-shrink: 0;
}

.shop-logo-icon svg {
    width: 1.85rem;
    height: 1.85rem;
}

.shop-main-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color, #fff);
    letter-spacing: -0.02em;
}

.shop-main-desc {
    margin: 0.25rem 0 0 0;
    font-size: 0.88rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

/* User Balance Card in Header */
.shop-user-balance-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    padding: 0.65rem 1.15rem;
    border-radius: var(--br-16, 16px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.shop-user-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.shop-user-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(77, 112, 239, 0.3);
}

.shop-user-text {
    display: flex;
    flex-direction: column;
}

.shop-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color, #fff);
}

.shop-user-cash {
    font-size: 0.82rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.shop-user-cash strong {
    color: #4D70EF;
    font-size: 1rem;
    font-weight: 700;
}

.shop-btn-topup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4D70EF, #3354C8);
    color: #fff !important;
    border: none;
    padding: 0.55rem 1rem;
    border-radius: var(--br-12, 12px);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(77, 112, 239, 0.35);
}

.shop-btn-topup svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
}

.shop-btn-topup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(77, 112, 239, 0.5);
    filter: brightness(1.1);
}

.shop-auth-prompt {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.shop-auth-hint {
    font-size: 0.84rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1b2838;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.55rem 1rem;
    border-radius: var(--br-12, 12px);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-btn-auth svg {
    width: 1rem;
    height: 1rem;
}

.shop-btn-auth:hover {
    background: #2a475e;
}

/* --------------------------------------------------------------------------
   Controls Bar: Server selection + Recipient
   -------------------------------------------------------------------------- */
.shop-controls-bar {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    border-radius: var(--br-16, 16px);
    padding: 1rem 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.shop-control-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.shop-control-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
    white-space: nowrap;
}

.shop-control-label svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #4D70EF;
}

.shop-server-dropdown-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 340px;
    max-width: 100%;
}

.shop-server-select {
    width: 100% !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    padding-right: 2.8rem !important; /* Critical: guarantees arrow never covers text */
}

/* Recipient Toggle Segment */
.shop-recipient-group {
    position: relative;
    z-index: 55;
    flex-wrap: wrap;
}

.shop-recipient-toggles {
    display: flex;
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04));
    border-radius: var(--br-12, 12px);
    padding: 0.25rem;
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    gap: 0.2rem;
}

.shop-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: none;
    border: none;
    color: var(--text-custom, rgba(255, 255, 255, 0.65));
    padding: 0.45rem 0.9rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-toggle-btn svg {
    width: 0.9rem;
    height: 0.9rem;
}

.shop-toggle-btn.active {
    background: #4D70EF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(77, 112, 239, 0.35);
}

.shop-recipient-input-wrap {
    position: relative;
    z-index: 60;
    display: inline-flex;
    align-items: center;
}

.shop-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
}

.shop-search-box input[type="text"],
.shop-search-box input {
    width: 100% !important;
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1)) !important;
    color: var(--text-color, #fff) !important;
    padding-left: 48px !important;
    padding-right: 2.2rem !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    border-radius: var(--br-10, 10px) !important;
    font-size: 0.85rem !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.shop-search-box input:focus {
    border-color: #4D70EF;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(77, 112, 239, 0.2);
}

.shop-search-icon {
    position: absolute;
    left: 0.8rem;
    width: 0.95rem;
    height: 0.95rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.45));
    pointer-events: none;
    transition: color 0.2s;
}

.shop-search-box input:focus ~ .shop-search-icon,
.shop-search-box:focus-within .shop-search-icon {
    color: #4D70EF;
}

.shop-search-clear-btn {
    position: absolute;
    right: 0.65rem;
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.shop-search-clear-btn svg {
    width: 0.7rem;
    height: 0.7rem;
    fill: currentColor;
}

.shop-search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Selected Friend Chip */
.shop-selected-friend-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem 0.35rem 0.5rem;
    background: linear-gradient(135deg, rgba(77, 112, 239, 0.15), rgba(77, 112, 239, 0.05));
    border: 1px solid rgba(77, 112, 239, 0.35);
    border-radius: var(--br-12, 12px);
    max-width: 330px;
    box-shadow: 0 4px 12px rgba(77, 112, 239, 0.15);
    animation: shopDropdownFade 0.2s ease;
}

.shop-selected-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    flex: 1;
    cursor: pointer;
    transition: opacity 0.2s;
}

.shop-selected-link:hover {
    opacity: 0.9;
}

.shop-selected-ext {
    width: 0.85rem;
    height: 0.85rem;
    fill: #4D70EF;
    opacity: 0.7;
    margin-left: 0.25rem;
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
}

.shop-selected-link:hover .shop-selected-ext {
    opacity: 1;
    transform: rotate(45deg);
}

.shop-selected-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.shop-selected-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.shop-selected-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-selected-steam {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-selected-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.shop-selected-clear-btn svg {
    width: 0.75rem;
    height: 0.75rem;
    fill: currentColor;
}

.shop-selected-clear-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

/* Friend Search Dropdown */
.shop-friend-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 340px;
    max-width: 90vw;
    background: #0f1629;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--br-14, 14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow: hidden;
    animation: shopDropdownFade 0.2s ease;
}

@keyframes shopDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-friend-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-friend-dropdown-header svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
}

.shop-friend-dropdown-header b {
    color: #4D70EF;
}

.shop-friend-dropdown-header svg.spin-icon {
    animation: shopSpin 1s linear infinite;
    color: #4D70EF;
}

@keyframes shopSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shop-friend-dropdown-list {
    max-height: 270px;
    overflow-y: auto;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shop-friend-dropdown-list::-webkit-scrollbar {
    background: rgba(255, 255, 255, 0.05);
    width: 4px;
}

.shop-friend-dropdown-list::-webkit-scrollbar-thumb {
    background: #4D70EF;
    border-radius: 4px;
}

.shop-friend-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.7rem;
    border-radius: var(--br-10, 10px);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    user-select: none;
    outline: none;
}

.shop-friend-item:hover,
.shop-friend-item:focus {
    background: rgba(77, 112, 239, 0.16);
    border-color: rgba(77, 112, 239, 0.35);
    transform: translateX(2px);
}

.shop-friend-item-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.shop-friend-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    line-height: 1.25;
    pointer-events: none;
}

.shop-friend-item-name {
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-friend-item-steam {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-friend-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 2;
}

.shop-friend-profile-btn svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: currentColor;
    transition: transform 0.2s;
}

.shop-friend-profile-btn:hover {
    background: #4D70EF;
    border-color: #4D70EF;
    color: #fff;
    transform: scale(1.1);
}

.shop-friend-profile-btn:hover svg {
    transform: rotate(45deg);
}

.shop-friend-manual-item {
    background: rgba(77, 112, 239, 0.08);
    border-color: rgba(77, 112, 239, 0.2);
}

.shop-friend-manual-item:hover,
.shop-friend-manual-item:focus {
    background: rgba(77, 112, 239, 0.22);
    border-color: rgba(77, 112, 239, 0.5);
}

.shop-friend-manual-item .shop-friend-item-arrow {
    width: 0.95rem;
    height: 0.95rem;
    fill: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.shop-friend-manual-item:hover .shop-friend-item-arrow {
    fill: #4D70EF;
    transform: rotate(45deg);
}

.shop-friend-empty-box {
    padding: 0.4rem 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   Tabs Navigation (Centered & Balanced)
   -------------------------------------------------------------------------- */
.shop-main-tabs-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
    border-bottom: 2px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    padding-bottom: 0.75rem;
}

.shop-tab-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: none;
    border: none;
    padding: 0.75rem 1.6rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-custom, rgba(255, 255, 255, 0.65));
    border-radius: var(--br-12, 12px);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.shop-tab-nav-btn svg {
    width: 1.15rem;
    height: 1.15rem;
}

.shop-tab-nav-btn:hover {
    color: var(--text-color, #fff);
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04));
}

.shop-tab-nav-btn.active {
    color: #fff;
    background: var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.shop-tab-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.85rem;
    left: 20%;
    right: 20%;
    height: 3px;
    border-radius: 3px;
    background: #4D70EF;
    box-shadow: 0 0 10px #4D70EF;
}

.shop-tab-nav-btn.admin-btn {
    color: #f59e0b;
    border: 1px dashed rgba(245, 158, 11, 0.35);
}

.shop-tab-nav-btn.admin-btn.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.shop-tab-nav-btn.admin-btn.active::after {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

/* Tab Panes */
.shop-tab-content-pane {
    display: none;
    position: relative;
    z-index: 1;
}

.shop-tab-content-pane.active {
    display: block;
    animation: shopFadeIn 0.3s ease;
}

@keyframes shopFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Current Active VIP Banner
   -------------------------------------------------------------------------- */
.shop-current-vip-banner {
    --vip-banner-color: #4D70EF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.35rem;
    margin-bottom: 1.5rem;
    border-radius: var(--br-16, 16px);
    background: linear-gradient(135deg, rgba(77, 112, 239, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(77, 112, 239, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.shop-current-vip-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shop-current-vip-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: var(--br-12, 12px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--vip-banner-color, #4D70EF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-current-vip-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.shop-current-vip-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.shop-current-vip-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.shop-current-vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.65rem;
    border-radius: 6px;
    background: var(--vip-banner-color, #4D70EF);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.shop-current-vip-exp {
    font-size: 0.84rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
}

.shop-current-vip-hint {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   VIP Tab Cards
   -------------------------------------------------------------------------- */
.shop-vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.shop-vip-card {
    position: relative;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    border-radius: var(--br-20, 20px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}

.shop-vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--group-color, #4D70EF);
    box-shadow: 0 0 15px var(--group-color, #4D70EF);
}

.shop-vip-card:hover {
    transform: translateY(-4px);
    border-color: var(--group-color, #4D70EF);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(77, 112, 239, 0.12);
}

.shop-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--group-color, #4D70EF);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: var(--br-8, 8px);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.shop-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shop-group-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: var(--br-14, 14px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--group-color, #4D70EF);
    flex-shrink: 0;
}

.shop-group-icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.shop-group-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color, #fff);
}

.shop-group-desc {
    margin: 0.2rem 0 0 0;
    font-size: 0.8rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
    line-height: 1.3;
}

.shop-card-price-box {
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04));
    border-radius: var(--br-14, 14px);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    border: 1px solid var(--transparent-5-w, rgba(255, 255, 255, 0.05));
}

.shop-price-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shop-price-label {
    font-size: 0.85rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-price-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-price-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.shop-price-old {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    margin-right: 0.15rem;
}

.shop-price-num {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    transition: all 0.2s ease;
}

.shop-price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--group-color, #4D70EF);
}

.shop-vip-plan-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.78rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.shop-vip-plan-note svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.shop-vip-plan-note.note-extend {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.shop-vip-plan-note.note-upgrade {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.shop-vip-plan-note.note-disabled {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fcd34d;
}

.shop-period-pill.is-muted-option {
    opacity: 0.45;
}

.shop-vip-card.is-upgrade-vip {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 18px rgba(16, 185, 129, 0.08);
}

.shop-vip-card.is-lower-vip {
    opacity: 0.72;
}

.shop-btn-buy.is-extend {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.shop-btn-buy.is-upgrade {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.shop-btn-buy.is-disabled,
.shop-btn-buy:disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    filter: none !important;
}

.shop-modal-action-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-modal-action-badge.badge-buy {
    background: rgba(77, 112, 239, 0.16);
    color: #93c5fd;
    border: 1px solid rgba(77, 112, 239, 0.35);
}

.shop-modal-action-badge.badge-extend {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.shop-modal-action-badge.badge-upgrade {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.shop-period-selector {
    margin-bottom: 1.25rem;
}

.shop-period-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.shop-period-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shop-period-pill {
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
    padding: 0.35rem 0.7rem;
    border-radius: var(--br-8, 8px);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-period-pill:hover {
    background: var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: #fff;
}

.shop-period-pill.active {
    background: var(--group-color, #4D70EF);
    color: #fff;
    border-color: var(--group-color, #4D70EF);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.shop-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.shop-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.84rem;
    color: var(--text-color, rgba(255, 255, 255, 0.85));
    line-height: 1.35;
}

.shop-feature-check {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: rgba(77, 112, 239, 0.15);
    color: #4D70EF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.shop-feature-check svg {
    width: 0.75rem;
    height: 0.75rem;
}

.shop-btn-buy {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--group-color, #4D70EF), rgba(77, 112, 239, 0.7));
    color: #fff;
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: var(--br-12, 12px);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.shop-btn-buy svg {
    width: 1.1rem;
    height: 1.1rem;
}

.shop-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(77, 112, 239, 0.4);
    filter: brightness(1.1);
}

.shop-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border-radius: var(--br-20, 20px);
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-empty-state svg {
    width: 3rem;
    height: 3rem;
    color: #4D70EF;
    margin-bottom: 1rem;
}

.shop-empty-state h3 {
    color: #fff;
    margin: 0 0 0.5rem 0;
}

/* --------------------------------------------------------------------------
   Credits Tab (Packages & Calculator)
   -------------------------------------------------------------------------- */
.shop-section-header {
    margin-bottom: 1.5rem;
}

.shop-section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color, #fff);
    margin: 0;
}

.shop-section-title svg {
    width: 1.3rem;
    height: 1.3rem;
    color: #f59e0b;
}

.shop-section-subtitle {
    margin: 0.3rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.shop-pkg-card {
    position: relative;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    border-radius: var(--br-18, 18px);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.shop-pkg-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(245, 158, 11, 0.15);
}

.shop-pkg-card.popular {
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.shop-pkg-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--br-8, 8px);
    font-size: 0.72rem;
    font-weight: 700;
}

.shop-pkg-badge.bonus {
    background: #10b981;
    color: #fff;
}

.shop-pkg-badge.popular {
    background: #f59e0b;
    color: #fff;
}

.shop-pkg-coin-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.shop-pkg-coin-icon svg {
    width: 1.8rem;
    height: 1.8rem;
}

.shop-pkg-amount {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.shop-pkg-amount .num {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.shop-pkg-amount .curr {
    font-size: 0.82rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
    text-transform: uppercase;
    font-weight: 600;
}

.shop-pkg-price {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.shop-pkg-price .val {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f59e0b;
}

.shop-pkg-price .cur {
    font-size: 0.9rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
}

.shop-pkg-card .shop-btn-buy {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.shop-pkg-card .shop-btn-buy:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

/* Interactive Calculator */
.shop-calculator-card {
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    border-radius: var(--br-20, 20px);
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.shop-calc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.shop-calc-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: var(--br-12, 12px);
    background: rgba(77, 112, 239, 0.15);
    color: #4D70EF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-calc-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.shop-calc-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color, #fff);
    margin: 0;
}

.shop-calc-desc {
    margin: 0.2rem 0 0 0;
    font-size: 0.82rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-calc-field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color, #fff);
}

.shop-calc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-calc-input-wrap input {
    width: 100%;
    background: var(--transparent-5-w, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: #fff;
    padding: 0.85rem 5rem 0.85rem 1rem;
    border-radius: var(--br-12, 12px);
    font-size: 1.3rem;
    font-weight: 700;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.shop-calc-input-wrap input:focus {
    border-color: #4D70EF;
    box-shadow: 0 0 15px rgba(77, 112, 239, 0.25);
}

.shop-calc-currency-tag {
    position: absolute;
    right: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
    text-transform: uppercase;
}

.shop-calc-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem 0;
}

.shop-chip {
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
    padding: 0.4rem 0.85rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-chip:hover {
    background: var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.shop-calc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--transparent-5-w, rgba(255, 255, 255, 0.05));
}

.shop-calc-rate-info {
    font-size: 0.85rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-calc-rate-info strong {
    color: var(--text-color, #fff);
}

.shop-calc-result-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.shop-calc-total-label {
    font-size: 0.9rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
}

.shop-calc-total-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f59e0b;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.shop-calc-total-val .currency {
    font-size: 1.1rem;
    font-weight: 600;
}

.shop-calc-summary .shop-btn-buy {
    width: auto;
    padding: 0.8rem 1.75rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* --------------------------------------------------------------------------
   Admin Settings Tab Styles (Clean, Balanced & Centralized)
   -------------------------------------------------------------------------- */
.shop-admin-container {
    background: var(--transparent-2-w, rgba(255, 255, 255, 0.02));
    border-radius: var(--br-20, 20px);
    padding: 2rem;
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.shop-admin-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
}

.shop-admin-title-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.shop-admin-title-box svg {
    width: 2.2rem;
    height: 2.2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.shop-admin-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.shop-admin-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

/* Centered Admin Subtabs */
.shop-admin-tabs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-wrap: wrap !important;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03)) !important;
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06)) !important;
    border-radius: var(--br-16, 16px) !important;
    padding: 0.65rem 0.85rem !important;
    margin: 0 auto 2.25rem auto !important;
    max-width: 850px !important;
}

.shop-admin-tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03)) !important;
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06)) !important;
    color: var(--text-custom, rgba(255, 255, 255, 0.65)) !important;
    padding: 0.6rem 1.15rem !important;
    border-radius: var(--br-10, 10px) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.shop-admin-tab-btn svg {
    width: 0.95rem !important;
    height: 0.95rem !important;
}

.shop-admin-tab-btn:hover {
    color: #fff !important;
    background: var(--transparent-8-w, rgba(255, 255, 255, 0.08)) !important;
    border-color: var(--transparent-12-w, rgba(255, 255, 255, 0.12)) !important;
}

.shop-admin-tab-btn.active {
    background: #4D70EF !important;
    color: #fff !important;
    border-color: #4D70EF !important;
    box-shadow: 0 4px 16px rgba(77, 112, 239, 0.35) !important;
}

.shop-admin-subtab-pane {
    display: none;
}

.shop-admin-subtab-pane.active {
    display: block;
    animation: shopFadeIn 0.25s ease;
}

.shop-admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.75rem;
}

/* Admin Cards */
.shop-admin-card {
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03)) !important;
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--br-18, 18px) !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
}

.shop-admin-card .card-header {
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03)) !important;
    padding: 1.15rem 1.4rem !important;
    border-bottom: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06)) !important;
    display: flex !important;
    align-items: center !important;
}

.shop-admin-card .card-container {
    padding: 1.4rem !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Explicit Flex Inputs in Admin to eradicate floating/overlapping bugs */
.shop-admin-container .inputs-inline {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    clear: both !important;
    margin-bottom: 1.15rem !important;
    gap: 0.45rem !important;
    box-sizing: border-box !important;
}

.shop-admin-container .inputs-inline label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--text-color, #e2e8f0) !important;
    margin: 0 !important;
    display: block !important;
}

.shop-admin-container input[type="text"],
.shop-admin-container input[type="number"],
.shop-admin-container input[type="password"] {
    width: 100% !important;
    height: 44px !important;
    line-height: 42px !important;
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1)) !important;
    color: #fff !important;
    padding: 0 1rem !important;
    border-radius: var(--br-10, 10px) !important;
    font-size: 0.88rem !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.shop-admin-container input:focus,
.shop-admin-container textarea:focus {
    border-color: #4D70EF !important;
    box-shadow: 0 0 0 3px rgba(77, 112, 239, 0.2) !important;
}

.shop-admin-container textarea {
    width: 100% !important;
    min-height: 85px !important;
    background: var(--transparent-4-w, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1)) !important;
    color: #fff !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--br-10, 10px) !important;
    font-size: 0.88rem !important;
    outline: none !important;
    box-sizing: border-box !important;
    resize: vertical !important;
}

.shop-admin-form-row {
    display: flex !important;
    gap: 1rem !important;
    width: 100% !important;
    clear: both !important;
}

.shop-admin-custom-box {
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--transparent-2-w, rgba(255, 255, 255, 0.02));
    border-radius: var(--br-12, 12px);
    border: 1px dashed var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    margin-bottom: 1rem;
}

/* Database Test Connection Button & Row */
.shop-admin-btn-row {
    clear: both !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08)) !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.shop-btn-test-db {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    height: 42px !important;
    padding: 0 1.25rem !important;
    background: linear-gradient(135deg, rgba(77, 112, 239, 0.15), rgba(77, 112, 239, 0.05)) !important;
    border: 1px solid rgba(77, 112, 239, 0.35) !important;
    border-radius: var(--br-10, 10px) !important;
    color: #93c5fd !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.shop-btn-test-db svg {
    width: 1rem !important;
    height: 1rem !important;
    fill: currentColor !important;
    color: #60a5fa !important;
}

.shop-btn-test-db:hover {
    background: linear-gradient(135deg, rgba(77, 112, 239, 0.3), rgba(77, 112, 239, 0.15)) !important;
    border-color: #4D70EF !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(77, 112, 239, 0.25) !important;
}

.shop-btn-test-db:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* VIP Groups Editor in Admin */
.shop-admin-group-card {
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    border-top: 4px solid #4D70EF;
    border-radius: var(--br-16, 16px);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.shop-admin-group-header {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
}

.shop-admin-group-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;
}

.shop-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.shop-field-wrap label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-admin-group-color {
    height: 44px !important;
    padding: 0.3rem !important;
    cursor: pointer;
}

.button-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--br-10, 10px);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.button-delete svg {
    width: 1.1rem;
    height: 1.1rem;
}

.button-delete:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-1px);
}

.shop-admin-section-subtitle {
    margin-top: 1.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.shop-admin-tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.shop-admin-tariff-item {
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    border-radius: var(--br-12, 12px);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-admin-checkbox {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color, #fff);
}

.shop-admin-tariff-input {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.shop-admin-tariff-input input {
    height: 36px !important;
    line-height: 34px !important;
    padding: 0 0.5rem !important;
    font-size: 0.85rem !important;
}

.shop-admin-tariff-input span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-btn-add-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #4D70EF;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(77, 112, 239, 0.3);
}

.shop-btn-add-item svg {
    width: 0.9rem;
    height: 0.9rem;
}

.shop-btn-add-item:hover {
    background: #3c5ecc;
    transform: translateY(-1px);
}

/* Credit Packages Editor in Admin */
.shop-admin-pkg-row {
    display: flex;
    align-items: flex-end;
    gap: 0.85rem;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    padding: 0.85rem 1rem;
    border-radius: var(--br-12, 12px);
    margin-bottom: 0.85rem;
}

.shop-admin-pkg-row .inputs-inline {
    margin-bottom: 0 !important;
}

.shop-pkg-pop-wrap {
    height: 44px;
}

.shop-pkg-pop-wrap input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
}

/* RCON & Servers Tab */
.shop-admin-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
}

.shop-admin-hint code {
    background: var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    color: #60a5fa;
}

.shop-admin-section-desc {
    font-size: 0.84rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
    margin-bottom: 1rem;
}

.shop-admin-servers-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.shop-admin-server-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--transparent-3-w, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    padding: 0.75rem 1rem;
    border-radius: var(--br-12, 12px);
    cursor: pointer;
    transition: all 0.2s;
}

.shop-admin-server-item:hover {
    background: var(--transparent-6-w, rgba(255, 255, 255, 0.06));
    border-color: rgba(77, 112, 239, 0.3);
}

.shop-admin-server-item input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    flex-shrink: 0;
}

.shop-server-item-info {
    display: flex;
    flex-direction: column;
}

.shop-server-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.shop-server-item-ip {
    font-size: 0.78rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
}

/* History / Orders Log */
.shop-orders-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.shop-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.shop-orders-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
    border-bottom: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    font-weight: 600;
    white-space: nowrap;
}

.shop-orders-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--transparent-4-w, rgba(255, 255, 255, 0.04));
    color: var(--text-color, #fff);
    white-space: nowrap;
}

.shop-table-price {
    color: #10b981;
    font-weight: 700;
}

.shop-badge-ok {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 0.2rem 0.55rem;
    border-radius: var(--br-6, 6px);
    font-size: 0.75rem;
    font-weight: 600;
}

.shop-table-link {
    color: #60a5fa;
    text-decoration: none;
}

.shop-table-link:hover {
    text-decoration: underline;
}

.shop-orders-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
}

.shop-orders-empty svg {
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.75rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.4));
}

/* Centralized Save Button Footer */
.shop-admin-save-footer {
    margin-top: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shop-btn-save-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    padding: 0.95rem 2.75rem;
    border-radius: var(--br-14, 14px);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.shop-btn-save-all svg {
    width: 1.15rem;
    height: 1.15rem;
}

.shop-btn-save-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

.shop-btn-save-all:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --------------------------------------------------------------------------
   Purchase Confirmation Modal
   -------------------------------------------------------------------------- */
.shop-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: shopModalFade 0.2s ease;
}

@keyframes shopModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.shop-modal-box {
    background: #181726;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    border-radius: var(--br-20, 20px);
    width: 100%;
    max-width: 460px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    animation: shopModalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shopModalScale {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.shop-modal-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.shop-modal-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--br-12, 12px);
    background: rgba(77, 112, 239, 0.15);
    color: #4D70EF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-modal-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.shop-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color, #fff);
}

.shop-modal-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-custom, rgba(255, 255, 255, 0.5));
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.shop-modal-close:hover {
    color: #fff;
}

.shop-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.shop-modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
}

.shop-modal-row .label {
    color: var(--text-custom, rgba(255, 255, 255, 0.6));
}

.shop-modal-row .val {
    color: var(--text-color, #fff);
    font-weight: 600;
}

/* Clickable Recipient in Confirmation Modal */
.shop-modal-recipient-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--br-10, 10px);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    max-width: 270px;
}

.shop-modal-recipient-link:hover {
    background: rgba(77, 112, 239, 0.18);
    border-color: rgba(77, 112, 239, 0.45);
    color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 112, 239, 0.2);
}

.shop-modal-recipient-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.shop-modal-recipient-icon {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.shop-modal-recipient-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.shop-modal-recipient-name {
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.shop-modal-recipient-steam {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-modal-recipient-external {
    width: 0.9rem;
    height: 0.9rem;
    fill: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.2s ease;
}

.shop-modal-recipient-link:hover .shop-modal-recipient-external {
    opacity: 1;
    fill: #4D70EF;
    transform: rotate(45deg);
}

.shop-modal-row.price-row .val {
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 800;
}

.shop-modal-row.new-balance-row .val strong {
    color: #4D70EF;
    font-size: 1.05rem;
}

.shop-modal-divider {
    border: none;
    border-top: 1px solid var(--transparent-8-w, rgba(255, 255, 255, 0.08));
    margin: 0.65rem 0;
}

.shop-modal-error-text {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ef4444;
    padding: 0.65rem 0.85rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.82rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.shop-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.shop-btn-cancel {
    background: var(--transparent-5-w, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: var(--text-custom, rgba(255, 255, 255, 0.7));
    padding: 0.65rem 1.25rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-btn-cancel:hover {
    background: var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: #fff;
}

.shop-btn-confirm {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: var(--br-10, 10px);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.shop-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.shop-btn-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.shop-toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    z-index: 10000;
    pointer-events: none;
}

.shop-toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 400px;
    background: #1c1b2c;
    border: 1px solid var(--transparent-10-w, rgba(255, 255, 255, 0.1));
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--br-12, 12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    font-size: 0.88rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: shopToastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.2s;
}

@keyframes shopToastSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-toast.success {
    border-left: 4px solid #10b981;
}

.shop-toast.error {
    border-left: 4px solid #ef4444;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .shop-top-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .shop-user-balance-bar {
        width: 100%;
        justify-content: space-between;
    }
    .shop-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-control-group {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-server-dropdown-wrap {
        width: 100%;
    }
    .shop-recipient-input-wrap,
    .shop-search-box,
    .shop-selected-friend-chip {
        width: 100%;
        max-width: 100%;
    }
    .shop-recipient-input-wrap input {
        width: 100%;
    }
    .shop-friend-dropdown {
        width: 100%;
        max-width: 100%;
    }
    .shop-admin-group-fields {
        flex-direction: column;
    }
    .shop-admin-pkg-row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .shop-vip-grid {
        grid-template-columns: 1fr;
    }
    .shop-packages-grid {
        grid-template-columns: 1fr;
    }
    .shop-calc-summary {
        flex-direction: column;
        align-items: stretch;
    }
    .shop-calc-summary .shop-btn-buy {
        width: 100%;
    }
    .shop-admin-form-row {
        flex-direction: column;
    }
    .shop-admin-tabs {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================================
   CS2 Dropped Skins Inventory & Customizer Styles
   ========================================================================= */
.shop-inventory-container {
    padding: 1.5rem 0;
}
.shop-inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shop-inv-title-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.shop-inv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(94, 152, 217, 0.15);
    border: 1px solid rgba(94, 152, 217, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5e98d9;
}
.shop-inv-icon svg {
    width: 24px;
    height: 24px;
}
.shop-inv-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.shop-inv-desc {
    margin: 0.3rem 0 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 650px;
}
.shop-inv-count-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
}
.shop-skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.shop-skin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rarity-color, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shop-skin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px var(--rarity-color, transparent);
}
.shop-skin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}
.shop-skin-rarity-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid;
    text-transform: uppercase;
}
.shop-skin-equip-tags {
    display: flex;
    gap: 0.3rem;
}
.equip-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.equip-tag.tag-t {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.4);
}
.equip-tag.tag-ct {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.shop-skin-image-wrap {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.shop-skin-img {
    max-height: 130px;
    max-width: 100%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.25s ease;
}
.shop-skin-card:hover .shop-skin-img {
    transform: scale(1.06);
}
.shop-skin-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}
.shop-skin-info {
    flex: 1;
    margin-bottom: 1rem;
}
.shop-skin-weapon {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop-skin-name {
    margin: 0.2rem 0 0.6rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-skin-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.meta-chip {
    font-size: 0.74rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
}
.meta-chip.chip-st {
    color: #ea580c;
    border-color: rgba(234, 88, 12, 0.3);
    background: rgba(234, 88, 12, 0.1);
}
.meta-chip.chip-nametag {
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}
.shop-skin-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}
.shop-skin-equip-btns {
    display: flex;
    gap: 0.4rem;
}
.btn-skin-equip {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.5rem 0.3rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.btn-skin-equip:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-skin-equip.active {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}
.btn-skin-unequip {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-skin-unequip svg {
    width: 14px;
    height: 14px;
}
.btn-skin-customize {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}
.btn-skin-customize:hover {
    border-color: #5e98d9;
    color: #5e98d9;
    background: rgba(94, 152, 217, 0.08);
}
.btn-skin-customize svg {
    width: 14px;
    height: 14px;
}

/* Customizer Modal */
.modal-skin-preview {
    text-align: center;
    margin-bottom: 1.2rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
.modal-skin-preview img {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
}
.form-group-custom {
    margin-bottom: 1.2rem;
}
.form-group-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}
.wear-presets {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.btn-wear-preset {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-wear-preset:hover {
    background: rgba(94, 152, 217, 0.2);
    border-color: #5e98d9;
    color: #fff;
}
.shop-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}
.shop-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5e98d9;
    cursor: pointer;
    border: 2px solid #fff;
}
.row-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.modal-custom-notice {
    font-size: 0.82rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
}

