:root {
    --bg-dark: #050507;
    --glass-bg: rgba(20, 20, 25, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9496a1;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --font-head: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --glow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.hidden-by-admin { display: none !important; }
.read-only-locked { cursor: default !important; opacity: 1 !important; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-head);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Animated Background Globes */
.background-globes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.globe-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.globe-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.globe-3 {
    width: 300px;
    height: 300px;
    background: var(--success);
    bottom: 20%;
    left: 20%;
    opacity: 0.2;
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 30px);
    }
}

/* Glass Panel Container */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Tabs */
.tabs-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.tabs-container::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.tab-content {
    display: none;
    animation: fadeInTab 0.4s ease-out forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s;
    min-width: 44px;
    justify-content: center;
    cursor: pointer;
}

#wake-lock-container {
    padding: 6px 10px;
}

#wake-lock-toggle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#wake-lock-toggle.active {
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
    animation: iconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes iconPop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mobile-only-flex {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only-flex {
        display: flex !important;
    }
}

.icon-sm {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
}

.status-indicator.live {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.status-indicator.online-users {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    margin-left: -5px;
}

.status-indicator.online-users .dot {
    background: var(--accent-blue);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.status-indicator.live .dot {
    background: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.header-meta {
    display: flex;
    gap: 30px;
    text-align: right;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.meta-item .value {
    font-size: 15px;
    font-weight: 500;
}

.date-small {
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: -2px;
}

.account-dropdown {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 120px;
}

.account-dropdown option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.glass-card {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    animation: fadeSlideIn 0.8s ease-out forwards;
}

.glass-card:nth-child(1) {
    animation-delay: 0.1s;
}

.glass-card:nth-child(2) {
    animation-delay: 0.2s;
}

.glass-card:nth-child(3) {
    animation-delay: 0.3s;
}

.glass-card:nth-child(4) {
    animation-delay: 0.4s;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(40, 40, 55, 0.8);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card.glass-card {
    border: none;
    background: transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    animation: flowOutline 2s ease-in-out infinite;
    z-index: 0;
}

.stat-card.featured::before {
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    animation: flowOutline 2.5s ease-in-out infinite;
}

@keyframes flowOutline {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    background: rgba(25, 25, 35, 0.95);
    z-index: 0;
    pointer-events: none;
}

.stat-card .card-icon,
.stat-card .card-info,
.stat-card .glow-effect {
    position: relative;
    z-index: 2;
}

@keyframes spinOutline {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.featured {
    background: transparent;
    border: none;
    box-shadow: 0 0 30px rgba(89, 40, 246, 0.15);
    /* Purple tint for featured */
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-info .label {
    color: var(--text-secondary);
    font-size: 13px;
}

.card-info .value {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.highlight-value {
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    align-self: start;
    height: fit-content;
}

.trades-section {
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.trades-section .table-wrapper {
    flex-grow: 1;
    max-height: 800px;
    /* Increased from 480px */
}

/* Performance Row */
.performance-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mini-card {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mini-card .label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.mini-card .value {
    font-size: 18px;
    font-weight: 500;
}

/* Profit Colors */
.profit-pos {
    color: var(--success);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.profit-neg {
    color: var(--danger);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.bg-profit-pos {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: var(--success) !important;
}

.bg-profit-neg {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    color: var(--danger) !important;
}

/* Accounts Section */
.accounts-section {
    margin-bottom: 30px;
}

.accounts-section .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-left: 5px;
}

/* Account Cards Grid -> List */
.account-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 5px;
}

.account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(30, 30, 40, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 20px;
}

.account-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.acc-main-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.account-card .acc-name {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.acc-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acc-today-label {
    font-size: 11px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.acc-today {
    font-weight: 600;
}

.acc-value-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 120px;
}

.acc-equity-group,
.acc-floating-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.acc-value-info .acc-label {
    font-size: 9px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.acc-label-sm {
    font-size: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.account-card .acc-profit {
    font-size: 17px;
    font-weight: 700;
}

.acc-floating {
    font-size: 14px;
    font-weight: 600;
}

.acc-chevron {
    color: var(--text-secondary);
    opacity: 0.3;
}

.account-card:hover .acc-chevron {
    color: var(--accent-blue);
    opacity: 1;
}

/* Flash Update Animation */
@keyframes flashUpdate {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.5);
        color: #fff;
    }

    100% {
        filter: brightness(1);
    }
}

.flash-update {
    animation: flashUpdate 0.5s ease;
}

/* Chart Section */
.chart-section {
    flex-grow: 1;
    min-height: 300px;
    max-height: 800px; 
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Added for calendar scrolling */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-section h2,
.trades-section h2 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
    /* Removing bottom margin as it's handled by section-header */
}

.floating-profit {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

/* Trades Section */
.trades-section {
    padding: 25px;
    height: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.floating-profit {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-mono);
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 480px;
    padding-right: 5px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

/* Custom Scrollbar */
.table-wrapper::-webkit-scrollbar {
    width: 5px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.4);
}


.trades-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.trades-table th {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0 12px 10px 12px;
}

.trades-table th:last-child {
    text-align: right;
}

.trades-table th:nth-child(4) {
    text-align: right;
}

.trades-table th:nth-child(3) {
    text-align: right;
}

.trades-table tr {
    transition: all 0.3s ease;
}

.trades-table td {
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, color 0.3s;
}

.trades-table tr td:first-child {
    border-radius: 8px 0 0 8px;
}

.trades-table tr td:last-child {
    border-radius: 0 8px 8px 0;
    text-align: right;
}

.trades-table tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}

/* MT5 Style Row Layout */
.trade-info-cell {
    padding: 10px 12px !important;
}

.t-primary-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
}

.t-symbol {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.t-type-vol {
    font-size: 13px;
    font-weight: 500;
    text-transform: lowercase;
}

.t-secondary-row {
    display: flex;
}

.t-price-flow {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.t-profit-cell {
    text-align: right !important;
    vertical-align: middle !important;
    padding-right: 15px !important;
}

.t-profit {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.weekend-row td {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.05) !important;
}

/* Table Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trade-row {
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    cursor: pointer;
}

.trade-row:hover td {
    background: rgba(255, 255, 255, 0.08);
}

.trade-row.expanded-active td {
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.detail-row td {
    padding: 0 12px 12px 12px !important;
    background: rgba(59, 130, 246, 0.05) !important;
    border-radius: 0 0 12px 12px !important;
    border-top: none !important;
}

.detail-row.hidden {
    display: none;
}

.trade-details {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.d-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.detail-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.p-label {
    color: var(--text-secondary);
}

.p-arrow {
    color: var(--accent-blue);
}

.p-value {
    color: var(--text-primary);
    font-weight: 600;
}

.type-buy {
    color: var(--success);
    font-weight: 600;
}

.type-sell {
    color: var(--danger);
    font-weight: 600;
}

.number-font {
    font-family: var(--font-mono);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .dashboard-container {
        padding: 12px;
        border-radius: 16px;
        width: 100%;
        max-width: 100vw;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    .header-content {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-meta {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 15px;
    }

    /* Show Install Banner on Mobile */
    .install-banner {
        display: flex !important;
    }

    .meta-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .meta-item .label {
        margin-bottom: 0;
    }

    .account-dropdown {
        width: 100%;
        max-width: none;
        padding: 8px 12px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 4px;
        overflow-x: hidden;
    }

    .dashboard-container {
        padding: 10px;
        width: 100%;
        overflow-x: hidden;
    }

    .brand h1 {
        font-size: 20px;
    }

    .account-dropdown {
        width: 100%;
        max-width: none;
    }

    /* Stats Grid: Keep 2 cols but tighter */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .stat-card {
        padding: 12px;
        align-items: flex-start;
        gap: 6px;
        min-height: 80px;
        /* Enforce height consistency */
    }

    .card-icon {
        width: 24px;
        height: 24px;
    }

    .card-info .value {
        font-size: 16px;
        word-break: break-all;
    }

    .card-info .label {
        font-size: 10px;
    }

    /* Performance Row: STACK on very small screens if needed, or extremely tight 3-col */
    .performance-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .mini-card {
        padding: 8px 2px;
        gap: 2px;
    }

    .mini-card .label {
        font-size: 9px;
        margin-bottom: 0;
    }

    .mini-card .value {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .account-cards-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .account-card {
        padding: 12px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .account-card .acc-name {
        font-size: 13px;
        margin-bottom: 0;
        text-align: left;
        flex: 1;
    }

    .account-card .acc-label {
        display: none;
        /* Hide 'Today' label to save space in list view, or can format beside profit */
    }

    .account-card .acc-profit {
        font-size: 14px;
        text-align: right;
    }

    .chart-section {
        min-height: 200px;
    }

    .section-header h2 {
        font-size: 13px;
    }

    .floating-profit {
        font-size: 13px;
        padding: 2px 8px;
    }

    /* Trades Table */
    .trades-table th,
    .trades-table td {
        padding: 6px 2px;
        /* Very tight padding */
        font-size: 10px;
    }

    /* Tabs Container Mobile */
    .tabs-container {
        gap: 8px;
        padding-bottom: 10px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Pagination Mobile */
    .pagination-controls {
        flex-direction: column;
        gap: 10px;
    }

    .pagination-controls .btn {
        width: 100%;
        padding: 10px;
    }

    /* Hide Volume (3) from Live Trades Table */
    .right-column .trades-table th:nth-child(3),
    .right-column .trades-table td:nth-child(3) {
        display: none;
    }

    /* Hide excessive columns from All History Table on Mobile */
    #all-history-table th:nth-child(1),
    #all-history-table td:nth-child(1),
    /* Ticket */
    #all-history-table th:nth-child(5),
    #all-history-table td:nth-child(5),
    /* Open Time */
    #all-history-table th:nth-child(6),
    #all-history-table td:nth-child(6)

    /* Close Time */
        {
        display: none;
    }
}

/* PWA Install Banner - Small Popup Box */
.install-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 380px;
    z-index: 9999;
    padding: 12px 18px;
    display: none !important; /* Hidden on Desktop */
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: popupSlideUp 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes popupSlideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideUpLarge {
    from {
        transform: translateY(120%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.banner-text h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.banner-text p {
    font-size: 11px;
    color: var(--text-secondary);
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

@media (max-width: 600px) {
    .install-banner {
        padding: 10px 14px;
        gap: 10px;
        width: calc(100% - 30px);
        bottom: 20px;
    }

    .banner-logo {
        width: 32px;
        height: 32px;
    }

    .banner-text h3 {
        font-size: 13px;
    }

    .banner-text p {
        display: none;
        /* Hide description on very small screens to keep it a "small box" */
    }

    .install-banner .btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}


/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    display: flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.whatsapp-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(16, 185, 129, 0.25);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    font-family: var(--font-head);
}

.whatsapp-icon-bg {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke-width: 2.5px;
}

/* Pulsing Animation */
.pulse-effect {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    z-index: -1;
    animation: wa-pulse 2s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
}

/* Hover separation effect */
.whatsapp-floating-btn:hover .whatsapp-icon-bg {
    animation: wa-bounce 0.8s ease-in-out infinite alternate;
}

@keyframes wa-bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 5px 5px 5px 15px;
    }
    
    .whatsapp-text {
        font-size: 13px;
    }
    
    .whatsapp-icon-bg {
        width: 36px;
        height: 36px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
}
.blurred-card {
    position: relative;
    overflow: hidden;
}

.blurred-card .acc-name {
    /* Keep the name unblurred and readable */
    position: relative;
    z-index: 10;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.blurred-card .acc-profit,
.blurred-card .acc-label,
.blurred-card .acc-trades-count,
.blurred-card .acc-today-label,
.blurred-card .acc-floating {
    filter: blur(8px);
    opacity: 0.3;
    transition: all 0.3s;
    pointer-events: none;
}

.blurred-card::after {
    content: '';
    position: absolute;
    top: calc(50% + 12px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blurred-card:hover .acc-profit,
.blurred-card:hover .acc-label,
.blurred-card:hover .acc-trades-count,
.blurred-card:hover .acc-today-label,
.blurred-card:hover .acc-floating {
    filter: blur(8px);
    opacity: 0.4;
}

@media (max-width: 600px) {
    .blurred-card::after {
        top: 50%;
        left: auto;
        right: 15px;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        background-size: 14px 14px;
    }
}

/* Password Prompt Modal */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.password-modal.show {
    opacity: 1;
    pointer-events: all;
}

.password-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.password-modal.show .password-box {
    transform: translateY(0);
}

.password-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.password-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: var(--font-mono);
    outline: none;
}

.password-box input:focus {
    border-color: var(--accent-blue);
}

.password-box .btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.acc-trades-count {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 6px;
}

.icon-xs {
    width: 10px;
    height: 10px;
    stroke-width: 3px;
}

/* Mobile Optimizations for List */
@media (max-width: 768px) {
    .account-card {
        padding: 12px 15px;
        gap: 12px;
    }

    .account-card .acc-name {
        font-size: 13px;
    }

    .acc-meta-row {
        gap: 6px;
    }

    .acc-trades-count,
    .acc-today-label {
        font-size: 10px;
        padding: 1px 6px;
    }

    .acc-value-info {
        min-width: 90px;
        gap: 4px;
    }

    .account-card .acc-profit {
        font-size: 15px;
    }

    .acc-floating {
        font-size: 12px;
    }

    .acc-chevron {
        display: none;
    }

    /* Show Performance History Charts & Calendar on Mobile */
    /* Hide Dashboard chart on mobile, keep History charts visible */
    #tab-dashboard .chart-section {
        display: none !important;
    }

    #tab-history .chart-section {
        display: flex !important;
        min-height: 400px;
        max-height: none;
        padding: 10px 5px;
        margin: 0 auto;
        width: 100%;
    }

    /* Hide unnecessary History elements on Mobile */
    #tab-history .right-column,
    #tab-history .view-switch-group,
    #tab-history .trades-section:last-of-type {
        display: none !important;
    }

    #tab-history .content-split {
        display: block;
        padding: 0;
    }

    #tab-history .chart-section {
        margin-bottom: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    #tab-history .section-header {
        justify-content: center;
        margin-bottom: 20px;
    }

    #tab-history .section-header h2 {
        font-size: 18px;
        text-align: center;
        width: 100%;
    }
}

/* Maintenance Mode Styles */
.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.maintenance-box {
    max-width: 450px;
    width: 90%;
    padding: 40px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.maintenance-icon {
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 24px;
}

.maintenance-box h2 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.maintenance-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.maintenance-actions {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.maintenance-actions .btn {
    padding: 12px 30px;
    font-size: 14px;
}

.animate-spin {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.maintenance-blur {
    filter: blur(8px);
    pointer-events: none;
}

/* Ensure only Admin Panel tab button is clickable during maintenance */
body.maintenance-active .tabs-container .tab-btn:not([data-target="tab-admin"]) {
    opacity: 0.5;
    pointer-events: none;
}

body.maintenance-active .tabs-container {
    position: relative;
    z-index: 10001;
}

/* View Switcher */
.view-switch-group {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.view-switch-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-switch-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.view-switch-btn.active {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.view-switch-btn i {
    width: 16px;
    height: 16px;
}

/* Calendar View */
.calendar-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: calFadeIn 0.4s ease-out;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.calendar-header h3 {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-mono);
    min-width: 120px;
    text-align: center;
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.weekday-label {
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    padding-bottom: 5px;
}

.day-cell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    aspect-ratio: 1;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
    min-height: 50px;
}

.day-cell.today {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.day-cell.other-month {
    opacity: 0.2;
}

.day-number {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.day-profit {
    font-size: 10px;
    font-weight: 500;
    font-family: var(--font-mono);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-profit.pos { color: var(--success); }
.day-profit.neg { color: var(--danger); }

@keyframes calFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .calendar-grid { gap: 4px; }
    .day-cell { padding: 4px; min-height: 45px; }
    .day-number { font-size: 10px; }
    .day-profit { font-size: 8px; }
}

@media (max-width: 480px) {
    body {
        padding: 8px 5px;
    }

    .calendar-grid { gap: 2px; }
    .day-cell { 
        padding: 3px 1px; 
        min-height: 42px;
        border-radius: 6px;
    }
    .day-number { font-size: 9px; margin-bottom: 2px; }
    .day-profit { font-size: 7px; line-height: 1; }
    
    .calendar-header h3 {
        font-size: 16px;
        min-width: 100px;
    }
    
    .calendar-header {
        gap: 10px;
    }
}
/* --- Account Information & PNL Sharing (Added per User Request) --- */
.account-info-header {
    text-align: right;
}

.account-share-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.share-pnl-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-pnl-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.share-pnl-btn .icon-sm {
    width: 14px;
    height: 14px;
}

/* PNL Share Overlay */
.pnl-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pnl-share-overlay[style*="display: flex"] {
    opacity: 1;
}

.pnl-share-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    padding: 40px 30px;
    border-radius: 28px;
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pnl-share-overlay[style*="display: flex"] .pnl-share-container {
    transform: translateY(0);
}

.close-overlay-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-overlay-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    transform: rotate(90deg);
}

.pnl-view {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pnl-view h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: white;
}

.period-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.period-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.period-btn .p-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.period-btn .p-val {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

/* Shareable PNL Card */
.pnl-card {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.9), rgba(15, 15, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.pnl-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.pnl-card-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnl-card-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-name .highlight {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pnl-card-body {
    text-align: center;
    padding: 20px 0;
}

.pnl-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.pnl-percent {
    font-size: 1.2rem;
    font-weight: 600;
}

.pnl-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
}

.pnl-card.profit-theme { border-color: rgba(16, 185, 129, 0.3); }
.pnl-card.profit-theme .pnl-amount, .pnl-card.profit-theme .pnl-percent { color: var(--success); }
.pnl-card.profit-theme .pnl-status-badge { background: rgba(16, 185, 129, 0.1); color: var(--success); }

.pnl-card.loss-theme { border-color: rgba(239, 68, 68, 0.3); }
.pnl-card.loss-theme .pnl-amount, .pnl-card.loss-theme .pnl-percent { color: var(--danger); }
.pnl-card.loss-theme .pnl-status-badge { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* Social Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-btn:hover { transform: translateY(-5px); }
.social-btn.whatsapp:hover { background: #25d366; }
.social-btn.telegram:hover { background: #0088cc; }
.social-btn.facebook:hover { background: #1877f2; }

/* Desktop meta positioning */
@media (min-width: 1025px) {
    .header-meta {
        display: flex;
        gap: 30px;
    }
}

/* Tablet centering */
@media (max-width: 1024px) and (min-width: 481px) {
    .header-meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .account-info-header { text-align: center; }
    .account-share-row { justify-content: center; }
}

/* Mobile specific grid layout (Requested by User) */
@media (max-width: 480px) {
    .header-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
        margin-top: 15px;
    }
    
    .header-meta .meta-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        min-height: 90px;
    }
    
    .meta-item .label {
        font-size: 10px;
        text-transform: uppercase;
        color: var(--text-secondary);
        margin-bottom: 5px;
    }

    .meta-item .value {
        font-size: 15px;
        font-weight: 700;
        color: white;
    }

    .meta-item .date-small {
        font-size: 10px;
        opacity: 0.6;
    }
    
    .account-share-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    #header-account-name {
        font-size: 14px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}



