* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: hsl(240, 10%, 6%);
    --bg-card: hsl(240, 8%, 10%);
    --bg-darker: hsl(240, 10%, 8%);
    --bg-muted: hsl(240, 8%, 15%);
    --text-primary: hsl(280, 5%, 98%);
    --text-muted: hsl(240, 5%, 64%);
    --neon-purple: hsl(262, 83%, 58%);
    --neon-violet: hsl(258, 90%, 66%);
    --neon-blue: hsl(237, 100%, 70%);
    --border-color: hsl(240, 8%, 18%);
    --border-neon: hsl(262, 83%, 58%, 0.3);
    --radius: 0.75rem;
    --sidebar-width: 260px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--bg-darker);
    color: var(--text-primary);
    border-left-color: var(--neon-purple);
}

.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--neon-purple);
    border-left-color: var(--neon-purple);
}

.nav-item svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-darker);
    border-radius: var(--radius);
}

.user-avatar-sidebar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-info-sidebar {
    flex: 1;
    min-width: 0;
}

.user-name-sidebar {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-cargo-sidebar {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    border-color: var(--neon-purple);
}

.page-title-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.balance-display-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius);
    padding: 0.625rem 1rem;
    box-shadow: 0 0 15px hsla(262, 83%, 58%, 0.2);
}

.balance-icon {
    color: var(--neon-purple);
}

.balance-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.balance-label-top {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.balance-value-top {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-purple);
    line-height: 1;
}

.cart-button {
    position: relative;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-button:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.cart-badge {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    background: var(--neon-purple);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    width: 100%;
}

.glow-neon {
    box-shadow: 0 0 20px hsla(262, 83%, 58%, 0.3), 
                0 0 40px hsla(262, 83%, 58%, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: hsla(262, 83%, 58%, 0.6);
    box-shadow: 0 0 0 3px hsla(262, 83%, 58%, 0.1);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    font-size: 0.875rem;
}

.select:hover {
    border-color: hsla(262, 83%, 58%, 0.6);
}

.select:focus {
    outline: none;
    border-color: hsla(262, 83%, 58%, 0.6);
    box-shadow: 0 0 0 3px hsla(262, 83%, 58%, 0.1);
}

.btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn:hover {
    border-color: hsla(258, 90%, 66%, 0.6);
    background: var(--bg-darker);
}

.btn-primary {
    background: linear-gradient(to right, var(--neon-purple), var(--neon-violet));
    border: none;
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
}

.sort-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sort-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.sort-btn:hover {
    border-color: hsla(262, 83%, 58%, 0.6);
}

.sort-btn.active {
    border-color: var(--neon-purple);
    background: rgba(139, 92, 246, 0.1);
    color: var(--neon-purple);
}

.product-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
    animation: fadeInUp 0.4s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px hsla(262, 83%, 58%, 0.25);
    border-color: var(--neon-purple);
}

.product-card.platinum { 
    border-color: #94a3b8;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.03), rgba(148, 163, 184, 0.01));
}

.product-card.gold { 
    border-color: #eab308;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.03), rgba(234, 179, 8, 0.01));
}

.product-card.standard { 
    border-color: #6b7280;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.03), rgba(107, 114, 128, 0.01));
}

.product-card.black { 
    border-color: #a855f7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), rgba(168, 85, 247, 0.01));
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-bin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-bin span {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.badge {
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.visa { 
    background: linear-gradient(135deg, #1A1F71, #2D3A9F);
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

.badge.mastercard { 
    background: linear-gradient(135deg, #EB001B, #F79E1B);
    box-shadow: 0 2px 8px rgba(235, 0, 27, 0.3);
}

.badge.elo { 
    background: linear-gradient(135deg, #000000, #FFCB05);
    box-shadow: 0 2px 8px rgba(255, 203, 5, 0.3);
}

.badge.amex { 
    background: linear-gradient(135deg, #006FCF, #00A3E0);
    box-shadow: 0 2px 8px rgba(0, 111, 207, 0.3);
}

.product-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
}

.detail-label {
    color: var(--text-muted);
    min-width: 50px;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.product-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neon-purple);
}

.btn-add {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(to right, var(--neon-purple), var(--neon-violet));
    border: none;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px hsla(262, 83%, 58%, 0.4);
}

.account-page {
    margin-top: 1rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.account-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.account-card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.account-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.balance-display {
    text-align: center;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-darker);
    border-radius: 0.5rem;
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    flex-shrink: 0;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.security-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.account-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.footer {
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
    flex-shrink: 0;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: hsla(262, 83%, 58%, 0.6);
    box-shadow: 0 0 0 3px hsla(262, 83%, 58%, 0.1);
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(to right, var(--neon-purple), var(--neon-violet));
    border: none;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-login:hover {
    opacity: 0.9;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius);
    padding: 0.875rem;
    color: #ef4444;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-title-header {
        font-size: 1.25rem;
    }

    .top-bar {
        padding: 0.875rem 1rem;
    }

    .balance-display-top {
        padding: 0.5rem 0.75rem;
    }

    .balance-value-top {
        font-size: 0.875rem;
    }

    .balance-label-top {
        font-size: 0.6rem;
    }

    .container {
        padding: 1rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .sort-buttons {
        flex-direction: column;
    }

    .product-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 1.25rem;
    }
}

.account-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.account-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.profile-avatar-large {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px hsla(262, 83%, 58%, 0.3);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.profile-role {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.profile-id {
    display: inline-block;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 0 20px hsla(262, 83%, 58%, 0.2);
}

.balance-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.balance-card-header svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.balance-card-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-purple);
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    flex-shrink: 0;
}

.stat-icon svg {
    width: 1rem;
    height: 1rem;
}

.stat-details {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.account-main-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.section-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-darker);
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.tab-btn.active {
    color: var(--neon-purple);
    background: var(--bg-card);
    border-bottom-color: var(--neon-purple);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

.content-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.content-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.content-header p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.info-row:hover {
    border-color: var(--border-neon);
}

.info-row-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.info-row-label svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.info-row-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.badge-cargo {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-neon);
    color: var(--neon-purple);
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.security-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.security-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    flex-shrink: 0;
}

.security-item-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.security-item-content {
    flex: 1;
}

.security-item-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.security-item-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.activity-timeline::-webkit-scrollbar {
    width: 6px;
}

.activity-timeline::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 3px;
}

.activity-timeline::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 3px;
}

.activity-timeline::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.timeline-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    flex-shrink: 0;
}

.timeline-icon svg {
    width: 1rem;
    height: 1rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px hsla(262, 83%, 58%, 0.4);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
}

.modal-close:hover {
    border-color: var(--neon-purple);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    padding: 1rem;
    color: #22c55e;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 1024px) {
    .account-container {
        grid-template-columns: 1fr;
    }

    .account-sidebar-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }

    .profile-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section-tabs {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid var(--border-color);
        border-left: 2px solid transparent;
    }

    .tab-btn.active {
        border-left-color: var(--neon-purple);
        border-bottom-color: var(--border-color);
    }

    .tab-content {
        padding: 1.5rem 1rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .top-actions {
        gap: 0.5rem;
    }

    .balance-text {
        display: flex;
    }
    
    .balance-label-top {
        font-size: 0.6rem;
    }
    
    .balance-value-top {
        font-size: 0.75rem;
    }

    .balance-icon {
        font-size: 1.25rem;
    }

    .profile-avatar-large {
        width: 4rem;
        height: 4rem;
        font-size: 1.5rem;
    }

    .profile-name {
        font-size: 1.25rem;
    }
}

.purchased-card-item {
    position: relative;
}

.purchased-card-item .product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.card-visual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.25rem;
    border-radius: 0.5rem;
    color: white;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1.586 / 1;
}

.card-number {
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-holder {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-label {
    font-size: 0.6rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-name {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.card-footer-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-footer-info span:not(.card-label) {
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-copy-card {
    width: 100%;
    background: var(--neon-purple);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-copy-card:hover {
    background: var(--neon-cyan);
    transform: translateY(-2px);
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

#tab-cards .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .account-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #tab-cards .products-grid {
        grid-template-columns: 1fr;
    }
    
    .card-data-row {
        grid-template-columns: 1fr;
    }
    
    .btn-copy {
        padding: 0.75rem 0.5rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-label {
        font-size: 0.75rem;
    }
    
    .detail-value {
        font-size: 0.75rem;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 0.875rem;
    }
    
    .product-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .product-details {
        gap: 0.5rem;
    }
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.info-cc {
    background: rgba(168, 85, 247, 0.15);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
}

.category-badge.consultavel {
    background: rgba(34, 211, 238, 0.15);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.badges-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-header {
    min-height: 40px;
}
