/* Hide Elementor header and footer on dashboard pages */
body.oakbourne-dashboard-active .elementor-location-header,
body.oakbourne-dashboard-active .elementor-pro-header,
body.oakbourne-dashboard-active header.elementor-location-header,
body.oakbourne-dashboard-active footer.elementor-location-footer,
body.oakbourne-dashboard-active .elementor-location-footer,
body.oakbourne-dashboard-active .site-header,
body.oakbourne-dashboard-active .site-footer,
body.oakbourne-dashboard-active header.site-header,
body.oakbourne-dashboard-active footer.site-footer {
    display: none !important;
}

body.oakbourne-dashboard-active {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Dashboard Layout with Sidebar */
.oakbourne-dashboard {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

/* Sidebar Navigation */
.dashboard-sidebar {
    width: 15%;
    background: #2c3e50;
    color: white;
    padding: 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.page-id-22 .e-con>.e-con-inner {
    max-width: 100%;
    padding-left: 15%;
}

.dashboard-header {
    padding: 30px 20px;
    background: #1a252f;
    border-bottom: 1px solid #34495e;
}

.dashboard-header h1 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.user-info {
    margin-top: 15px;
    font-size: 14px;
}

.user-info span {
    display: block;
    color: #bdc3c7;
    margin-bottom: 5px;
}

.logout-btn {
    color: #e74c3c;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.logout-btn:hover {
    color: #c0392b;
}

.dashboard-nav {
    margin-top: 20px;
}

.dashboard-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-nav li {
    margin: 0;
}

.dashboard-nav .nav-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.dashboard-nav .nav-tab:hover {
    background: #34495e;
    color: white;
    border-left-color: #3498db;
}

.dashboard-nav .nav-tab.active {
    background: #34495e;
    color: white;
    border-left-color: #3498db;
}

.dashboard-nav .nav-tab::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background: currentColor;
    opacity: 0.7;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.dashboard-nav .nav-tab[data-tab="dashboard"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h1v7c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-7h1c.6 0 1-.4 1-1s-.4-1-1-1h-1V4c0-1.1-.9-2-2-2H6C4.9 2 4 2.9 4 4v7H3c-.6 0-1 .4-1 1s.4 1 1 1zM6 4h12v7H6V4z'/%3E%3C/svg%3E");
}

.dashboard-nav .nav-tab[data-tab="deposit"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.dashboard-nav .nav-tab[data-tab="trade"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z'/%3E%3C/svg%3E");
}

.dashboard-nav .nav-tab[data-tab="exchange"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z'/%3E%3C/svg%3E");
}

.dashboard-nav .nav-tab[data-tab="transactions"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z'/%3E%3C/svg%3E");
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    width: 100% !important;
    padding: 30px;
    min-height: 100vh;
}

/* Account Info */
.account-info {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.account-info h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.account-info p {
    margin: 8px 0;
    color: #555;
    font-size: 14px;
}

.account-info strong {
    color: #2c3e50;
}

/* Dashboard Actions */
.dashboard-actions {
    margin-bottom: 25px;
}

.action-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.action-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.action-btn.primary {
    background: #27ae60;
}

.action-btn.primary:hover {
    background: #219a52;
}

/* Balance Section */
.balance-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.balance-section h3 {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
}

/* Deposit Stats Section */
.deposit-stats-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stats-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.period-selector {
    display: flex;
    gap: 5px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 4px;
}

.period-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.period-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.period-btn.active {
    background: #3498db;
    color: white;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.summary-item .label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.summary-item .value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.quick-actions .action-btn {
    flex: 1;
}

/* Recent Transactions */
.recent-transactions {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recent-transactions h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

/* Tab Content */
.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-sidebar {
        width: 70px;
        overflow: hidden;
    }
    
    .dashboard-header h1 {
        font-size: 0;
    }
    
    .dashboard-header h1::after {
        content: 'O';
        font-size: 20px;
    }
    
    .user-info {
        display: none;
    }
    
    .dashboard-nav .nav-tab span {
        display: none;
    }
    
    .dashboard-nav .nav-tab::before {
        margin-right: 0;
    }
    
    .dashboard-main {
        width: 100% !important;
        margin-left: 70px;
        padding: 15px;
    }
    
    .stats-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .period-selector {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .dashboard-main {
        width: 100% !important;
        margin-left: 0;
        padding: 15px;
    }
    
    .dashboard-nav ul {
        display: flex;
        overflow-x: auto;
    }
    
    .dashboard-nav li {
        flex: 1;
        min-width: 80px;
    }
    
    .dashboard-nav .nav-tab {
        flex-direction: column;
        padding: 10px 5px;
        font-size: 11px;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .dashboard-nav .nav-tab.active {
        border-left: none;
        border-bottom-color: #3498db;
    }
    
    .dashboard-nav .nav-tab::before {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

.balance-section {
    text-align: center;
    margin-bottom: 30px;
}

.balance-amount {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
}

.chart-section {
    margin-bottom: 30px;
}

.chart-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.chart-placeholder {
    height: 200px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 140px;
    margin-bottom: 20px;
}

.chart-bar {
    width: 30px;
    background: #3498db;
    border-radius: 3px 3px 0 0;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
}

.transactions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.transaction-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    text-align: center;
}

.positive {
    color: #27ae60;
}

.negative {
    color: #e74c3c;
}

.oakbourne-registration-form,
.oakbourne-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

button {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background: #2980b9;
}

/* Exchange Section Styles */
.exchange-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.balance-and-exchange {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.balance-and-exchange .balance-and-stats {
    flex: 0 0 70%;
}
.exchange-rates-display {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.rate-item {
    text-align: center;
}

.currency-pair {
    display: block;
    font-weight: bold;
    color: #2c3e50;
}

.rate-value {
    display: block;
    color: #27ae60;
    font-size: 1.1em;
    font-weight: bold;
}

.currency-converter {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
}

.converter-header h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.converter-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.input-group select,
.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.swap-currencies {
    margin-top: 25px;
}

#swap-currencies {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

#swap-currencies:hover {
    background: #2980b9;
}

.exchange-rate-info {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background: #ecf0f1;
    border-radius: 4px;
    font-weight: bold;
}

.exchange-btn {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.exchange-btn:hover {
    background: #219a52;
}

.exchange-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Deposit Statistics Styles */
.deposit-stats-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stats-header h3 {
    margin: 0;
    color: #2c3e50;
}

.period-selector {
    display: flex;
    gap: 5px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 4px;
}

.period-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
}

.period-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.period-btn.active {
    background: #3498db;
    color: white;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.summary-item .label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.summary-item .value {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.chart-container {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 10px;
}

.chart-header span {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.chart-placeholder {
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.chart-bars {
    flex: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    min-height: 150px;
}

.chart-bar {
    background: linear-gradient(to top, #3498db, #2980b9);
    border-radius: 4px 4px 0 0;
    min-width: 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chart-bar:hover {
    background: linear-gradient(to top, #2980b9, #1f618d);
    transform: scaleY(1.05);
}

.chart-bar .bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #2c3e50;
    font-weight: 600;
    white-space: nowrap;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px 0 5px;
    border-top: 1px solid #e1e8ed;
}

.chart-label {
    font-size: 10px;
    color: #6c757d;
    text-align: center;
    flex: 1;
}

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    width: 100%;
    align-self: center;
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.action-btn.primary {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.action-btn.primary:hover {
    background: #219a52;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .period-selector {
        justify-content: center;
    }
}

/* Chart Container */
.chart-container {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0 10px;
}

.chart-header span {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-placeholder {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Line Chart Container */
.line-chart-container {
    flex: 1;
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.line-chart {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

/* Chart Grid */
.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    border-top: 1px solid #e9ecef;
    width: 100%;
}

.grid-label {
    position: absolute;
    left: -40px;
    top: -8px;
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
    background: white;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Chart Line and Data Points */
.chart-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.line-segment {
    display: none;
}

.data-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3498db;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
    z-index: 3;
}

.data-point:hover {
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border: 3px solid white;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
    z-index: 10;
}

.data-point.active {
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border: 3px solid white;
}

.point-value {
    position: absolute;
    background: #2c3e50;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transform: translate(-50%, -100%);
    margin-top: -8px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.point-value::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #2c3e50;
}

.data-point:hover .point-value {
    opacity: 1;
    transform: translate(-50%, -120%);
}

/* Chart Labels */
.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 15px 5px 0 5px;
    border-top: 1px solid #e1e8ed;
    margin-top: 10px;
    background: #f8f9fa;
    border-radius: 0 0 6px 6px;
}

.chart-label {
    font-size: 11px;
    color: #6c757d;
    text-align: center;
    flex: 1;
    font-weight: 500;
    padding: 4px 2px;
    transform: rotate(0deg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* No Data State */
.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    width: 100%;
    align-self: center;
    padding: 60px 20px;
    font-size: 14px;
}

.error-message {
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    padding: 20px;
    border-radius: 6px;
    font-weight: 500;
}

/* Animation for chart loading */
.line-chart {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .chart-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .chart-placeholder {
        height: 250px;
    }
    
    .chart-label {
        font-size: 10px;
        transform: rotate(-45deg);
        padding: 8px 2px;
    }
    
    .chart-labels {
        padding: 12px 2px 0 2px;
    }
    
    .grid-label {
        left: -35px;
        font-size: 9px;
    }
    
    .point-value {
        font-size: 10px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .chart-placeholder {
        height: 200px;
    }
    
    .chart-label {
        font-size: 9px;
        transform: rotate(-45deg);
    }
    
    .chart-header span {
        font-size: 11px;
    }
    
    .data-point {
        width: 6px;
        height: 6px;
    }
    
    .data-point:hover {
        width: 10px;
        height: 10px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .chart-container {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .chart-header span {
        color: #a0aec0;
    }
    
    .grid-line {
        border-color: #4a5568;
    }
    
    .grid-label {
        background: #2d3748;
        color: #a0aec0;
    }
    
    .chart-labels {
        background: #1a202c;
        border-color: #4a5568;
    }
    
    .chart-label {
        color: #a0aec0;
    }
    
    .line-segment {
        background: linear-gradient(90deg, #63b3ed, #4299e1);
    }
    
    .data-point {
        background: #63b3ed;
        border-color: #2d3748;
    }
}

/* Print styles */
@media print {
    .chart-container {
        border: 1px solid #000;
        box-shadow: none;
        background: white;
    }
    
    .data-point:hover .point-value {
        opacity: 1 !important;
    }
    
    .chart-header span {
        color: #000;
    }
}


/* Account Info Show/Hide Styles */
.account-info {
    position: relative;
}

.account-info h2 {
    display: inline-block;
    margin-right: 15px;
}

.toggle-credentials-btn {
    background: none;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

.toggle-credentials-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

.toggle-credentials-btn .eye-icon {
    font-size: 14px;
}

.account-info p {
    position: relative;
    margin: 12px 0;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.account-info p:last-child {
    border-bottom: none;
}

.credential-value {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 1px;
}

.masked {
    color: #666;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.revealed {
    color: #2c3e50;
    font-weight: 600;
    background: #e8f4fd;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #3498db;
}
.account-details {
    display: flex;
    justify-content: space-between;
}

 .services-container {
            display: flex;
            gap: 30px;
            width: 100%;
            flex-wrap: wrap;
            justify-content: center;
            margin: 40px 0;
        }

   .services-container      .service-box {
            background: white;
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            flex: 1;
            min-width: 300px;
            max-width: 33%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

  .services-container       .service-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

    .services-container     .service-icon {
            font-size: 3em;
            margin-bottom: 20px;
        }

  .services-container       .service-title {
            font-size: 1.5em;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }

  .services-container       .service-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }

    .services-container     .service-arrow {
            font-size: 1.5em;
            color: #667eea;
        }

        /* Popup Styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

  .popup-overlay      .popup-content {
            background: white;
            border-radius: 15px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
        }

  .popup-overlay      .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 2em;
            cursor: pointer;
            color: #999;
            background: none;
            border: none;
        }
.popup-overlay
        .popup-close:hover {
            color: #333;
        }

   .popup-overlay     .popup-icon {
            font-size: 4em;
            margin-bottom: 20px;
            color: #667eea;
        }

   .popup-overlay     .popup-title {
            font-size: 1.8em;
            font-weight: bold;
            margin-bottom: 20px;
            color: #333;
        }

    .popup-overlay    .popup-message {
            color: #666;
            line-height: 1.6;
            margin-bottom: 30px;
            font-size: 1.1em;
        }

  .popup-overlay      .popup-button {
            background: #667eea;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-size: 1em;
            cursor: pointer;
            transition: background 0.3s ease;
        }

     .popup-overlay   .popup-button:hover {
            background: #764ba2;
        }

        @media (max-width: 768px) {
            .services-container {
                flex-direction: column;
                align-items: center;
            }
            
        .services-container    .service-box {
                min-width: 100%;
            }
        }
/* Transfer Modal Styles */
div#transfer-modal .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Transfer Modal Overlay */
div#transfer-modal,
div#withdrawal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

/* Centered Modal Content */
div#transfer-modal .modal-content,
div#withdrawal-modal .modal-content {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Scrollbar styling for modal content */
div#transfer-modal .modal-content::-webkit-scrollbar {
    width: 6px;
}

div#transfer-modal .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

div#transfer-modal .modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

div#transfer-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Close button positioning */
div#transfer-modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 10001;
}

div#transfer-modal .close:hover {
    color: #e74c3c;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    div#transfer-modal .modal-content {
        padding: 25px 20px;
        width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    div#transfer-modal .modal-content {
        padding: 20px 15px;
        width: 98%;
        max-height: 80vh;
    }
    
    div#transfer-modal .close {
        right: 15px;
        top: 10px;
        font-size: 24px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    div#transfer-modal .modal-content {
        background-color: #2d3748;
        color: #e2e8f0;
    }
}



div#transfer-modal .modal h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

/* Transfer Form Styles */
div#transfer-modal .transfer-form {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

div#transfer-modal .transfer-form::-webkit-scrollbar {
    width: 6px;
}

div#transfer-modal .transfer-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

div#transfer-modal .transfer-form::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

div#transfer-modal .transfer-form::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

div#transfer-modal .form-group {
    margin-bottom: 20px;
}

div#transfer-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

div#transfer-modal .form-group input,
div#transfer-modal .form-group textarea,
div#transfer-modal .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

div#transfer-modal .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

div#transfer-modal .form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 12px;
    font-style: italic;
}

/* Form Actions */
div#transfer-modal .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

div#transfer-modal .transfer-submit {
    background: #3498db;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

div#transfer-modal .transfer-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

div#transfer-modal .transfer-submit:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

div#transfer-modal .cancel-btn {
    background: #95a5a6;
    color: white;
    padding: 14px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

div#transfer-modal .cancel-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Message Styles */
div#transfer-modal #transfer-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

div#transfer-modal #transfer-message .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

div#transfer-modal #transfer-message .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

div#transfer-modal #transfer-message .info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


.financial-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32%, 1fr));
    gap: 24px;
    padding: 30px;
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}



.financial-services-grid .service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.financial-services-grid a.service-card.last-item {
    width: 100%;
    grid-column: 1 / -1;
    max-width: 100%;
    justify-self: center;
    text-align: left;
}

.financial-services-grid .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: height 0.3s ease;
}

.financial-services-grid .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
    text-decoration: none;
    color: inherit;
}

.financial-services-grid .service-card:hover::before {
    height: 6px;
}

.financial-services-grid .service-card:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.financial-services-grid .service-card:active {
    transform: translateY(-2px);
    transition: transform 0.1s ease;
}

.financial-services-grid .service-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.financial-services-grid .service-logo {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.financial-services-grid .service-icon svg {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
}

.financial-services-grid .service-card:hover .service-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.financial-services-grid .service-card:hover .service-icon svg {
    transform: scale(1.05);
}

.financial-services-grid .service-content {
    color: #2c3e50;
}

.financial-services-grid .service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.financial-services-grid .service-card:hover .service-title {
    color: #3498db;
}

.financial-services-grid .service-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5d6d7e;
    margin: 0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.financial-services-grid .service-card:hover .service-description {
    color: #2c3e50;
}

/* Brand-specific colors for top bars */
.financial-services-grid .service-card:nth-child(1)::before {
    background: linear-gradient(90deg, #f0b90b, #f8d33a);
}

.financial-services-grid .service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #121d33, #3d4e6a);
}

.financial-services-grid .service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #0052ff, #2f80ed);
}

.financial-services-grid .service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #00a876, #00c993);
}

/* Hover effects for specific brands */
.financial-services-grid .service-card:nth-child(1):hover {
    border-color: #f0b90b;
}

.financial-services-grid .service-card:nth-child(1):hover .service-title {
    color: #f0b90b;
}

.financial-services-grid .service-card:nth-child(2):hover {
    border-color: #121d33;
}

.financial-services-grid .service-card:nth-child(2):hover .service-title {
    color: #121d33;
}

.financial-services-grid .service-card:nth-child(3):hover {
    border-color: #0052ff;
}

.financial-services-grid .service-card:nth-child(3):hover .service-title {
    color: #0052ff;
}

.financial-services-grid .service-card:nth-child(4):hover {
    border-color: #00a876;
}

.financial-services-grid .service-card:nth-child(4):hover .service-title {
    color: #00a876;
}

/* Responsive Design */
@media (max-width: 768px) {
    .financial-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
    }
    
    .financial-services-grid .service-card {
        padding: 25px 20px;
    }
    
    .financial-services-grid .service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .financial-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .financial-services-grid .service-card {
        padding: 20px 16px;
    }
    
    .financial-services-grid .service-title {
        font-size: 1.2rem;
    }
    
    .financial-services-grid .service-description {
        font-size: 0.9rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .financial-services-grid .service-card {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .financial-services-grid .service-content {
        color: #e2e8f0;
    }
    
    .financial-services-grid .service-title {
        color: #f7fafc;
    }
    
    .financial-services-grid .service-description {
        color: #cbd5e0;
    }
    
    .financial-services-grid .service-card:hover .service-title {
        color: #63b3ed;
    }
    
    .financial-services-grid .service-card:hover .service-description {
        color: #e2e8f0;
    }
}

/* Focus styles for accessibility */
.financial-services-grid .service-card:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 3px;
}

/* Loading State */
.financial-services-grid .service-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    pointer-events: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.support-access-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.page-id-22 .page-header {
    display: none;
}



.page-id-22 header#site-header {
    display: none;
}

.support-access-container .support-access-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.support-access-container .support-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.support-access-container .support-icon {
    margin-bottom: 25px;
    color: #e74c3c;
}

.support-access-container .support-icon svg {
    width: 64px;
    height: 64px;
}

.support-access-container .support-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.support-access-container .access-status {
    margin-bottom: 25px;
}

.support-access-container .status-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.support-access-container .support-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5d6d7e;
    margin-bottom: 35px;
    font-weight: 400;
}

.support-access-container .support-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.support-access-container .dashboard-btn {
    background: #3498db;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #3498db;
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.support-access-container .dashboard-btn:hover {
    background: white;
    color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.support-access-container .support-btn {
    background: #e74c3c;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.support-access-container .support-btn:hover {
    background: white;
    color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.support-access-container .support-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    border: 1px solid #e1e8ed;
}

.support-access-container .info-item {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #5d6d7e;
    display: flex;
    align-items: center;
}

.support-access-container .info-item:last-child {
    margin-bottom: 0;
}

.support-access-container .info-item strong {
    color: #2c3e50;
    min-width: 80px;
    margin-right: 10px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-access-container {
        padding: 20px 15px;
    }
    
    .support-access-container .support-access-card {
        padding: 40px 25px;
    }
    
    .support-access-container .support-title {
        font-size: 1.8rem;
    }
    
    .support-access-container .support-actions {
        flex-direction: column;
    }
    
    .support-access-container .dashboard-btn,
    .support-access-container .support-btn {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .support-access-container .support-access-card {
        padding: 30px 20px;
    }
    
    .support-access-container .support-title {
        font-size: 1.6rem;
    }
    
    .support-access-container .support-message {
        font-size: 1rem;
    }
    
    .support-access-container .support-info {
        padding: 20px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .support-access-container .support-access-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .support-access-container .support-title {
        color: #f7fafc;
    }
    
    .support-access-container .support-message {
        color: #cbd5e0;
    }
    
    .support-access-container .support-info {
        background: #4a5568;
        border-color: #718096;
    }
    
    .support-access-container .info-item {
        color: #cbd5e0;
    }
    
    .support-access-container .info-item strong {
        color: #f7fafc;
    }
    
    .support-access-container .dashboard-btn:hover {
        background: #2d3748;
        color: #63b3ed;
    }
    
    .support-access-container .support-btn:hover {
        background: #2d3748;
        color: #fc8181;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-access-container .support-access-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
.support-access-container .dashboard-btn:focus,
.support-access-container .support-btn:focus {
    outline: 3px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}


.recent-transactions {
    margin: 30px 0;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.recent-transactions h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.recent-transactions-table {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}

.transactions-table thead {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.transactions-table thead th {
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.transactions-table thead th:first-child {
    border-top-left-radius: 7px;
}

.transactions-table thead th:last-child {
    border-top-right-radius: 7px;
}

.transactions-table tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.2s ease;
}

.transactions-table tbody tr:hover {
    background-color: #f8f9fa;
}

.transactions-table tbody tr:last-child {
    border-bottom: none;
}

.transactions-table tbody td {
    padding: 14px 12px;
    color: #2c3e50;
    font-weight: 500;
}

/* Amount column styling */
.transactions-table .positive {
    color: #27ae60;
    font-weight: 700;
    font-size: 0.95rem;
}



.transactions-table .negative {
    color: #e74c3c;
    font-weight: 700;
    font-size: 0.95rem;
}



/* Status badges */
.transactions-table .status-pending {
    background: #f39c12;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.transactions-table .status-completed {
    background: #27ae60;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.transactions-table .status-failed {
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

/* Invoice button styling */
.transactions-table .invoice-btn {
    background: #3498db;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid #3498db;
}

.transactions-table .invoice-btn:hover {
    background: white;
    color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* Date column styling */
.transactions-table td:last-child {
    color: #7f8c8d;
    font-size: 0.85rem;
}

/* Description column */
.transactions-table td:nth-child(2) {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 768px) {
    .recent-transactions {
        margin: 20px 0;
        padding: 20px;
    }
    
    .recent-transactions h3 {
        font-size: 1.2rem;
    }
    
    .transactions-table {
        font-size: 0.8rem;
    }
    
    .transactions-table thead th {
        padding: 12px 8px;
        font-size: 0.75rem;
    }
    
    .transactions-table tbody td {
        padding: 12px 8px;
    }
    
    .transactions-table .positive,
    .transactions-table .negative {
        font-size: 0.85rem;
    }
    
    .transactions-table .status-pending,
    .transactions-table .status-completed,
    .transactions-table .status-failed {
        font-size: 0.7rem;
        padding: 5px 10px;
        min-width: 70px;
    }
    
    .transactions-table .invoice-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .recent-transactions {
        padding: 15px;
        margin: 15px 0;
    }
    
    .recent-transactions-table {
        border-radius: 6px;
    }
    
    .transactions-table thead th {
        padding: 10px 6px;
        font-size: 0.7rem;
    }
    
    .transactions-table tbody td {
        padding: 10px 6px;
    }
    
    .transactions-table td:nth-child(2) {
        max-width: 120px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .recent-transactions {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .recent-transactions h3 {
        color: #f7fafc;
        border-bottom-color: #3498db;
    }
    
    .recent-transactions-table {
        border-color: #4a5568;
    }
    
    .transactions-table {
        background: #2d3748;
    }
    
    .transactions-table tbody tr {
        border-bottom-color: #4a5568;
    }
    
    .transactions-table tbody tr:hover {
        background-color: #4a5568;
    }
    
    .transactions-table tbody td {
        color: #e2e8f0;
    }
    
    .transactions-table td:last-child {
        color: #cbd5e0;
    }
    
    .transactions-table .invoice-btn:hover {
        background: #4a5568;
        color: #63b3ed;
    }
}

/* Empty state styling */
.recent-transactions-table:empty::before {
    content: "No transactions found";
    display: block;
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
}

/* Loading state */
.recent-transactions-table .loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
}



.exchange-rates-carousel {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.exchange-rates-carousel .carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.exchange-rates-carousel .carousel-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.exchange-rates-carousel .carousel-controls {
    display: flex;
    gap: 10px;
}

.exchange-rates-carousel .control-btn {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #5d6d7e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exchange-rates-carousel .control-btn:hover:not(:disabled) {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-1px);
}

.exchange-rates-carousel .control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.exchange-rates-carousel .carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.exchange-rates-carousel .carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease;
    padding: 5px 0;
    width: max-content; /* This is key for proper carousel behavior */
}

.exchange-rates-carousel .rate-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 20px 15px;
    min-width: 150px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exchange-rates-carousel .rate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.exchange-rates-carousel .rate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.exchange-rates-carousel .currency-pair {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.exchange-rates-carousel .rate-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.exchange-rates-carousel .rate-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
}

.exchange-rates-carousel .rate-change.positive {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.exchange-rates-carousel .rate-change.negative {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.exchange-rates-carousel .rate-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .exchange-rates-carousel {
        padding: 20px;
    }
    
    .exchange-rates-carousel .carousel-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .exchange-rates-carousel .carousel-controls {
        align-self: flex-end;
    }
    
    .exchange-rates-carousel .rate-card {
        min-width: 140px;
        padding: 18px 12px;
    }
}

@media (max-width: 480px) {
    .exchange-rates-carousel {
        padding: 15px;
        margin: 15px 0;
    }
    
    .exchange-rates-carousel .carousel-title {
        font-size: 1.1rem;
    }
    
    .exchange-rates-carousel .rate-card {
        min-width: 130px;
        padding: 15px 10px;
    }
    
    .exchange-rates-carousel .rate-value {
        font-size: 1.1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .exchange-rates-carousel {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .exchange-rates-carousel .carousel-title {
        color: #f7fafc;
    }
    
    .exchange-rates-carousel .control-btn {
        background: #4a5568;
        border-color: #718096;
        color: #cbd5e0;
    }
    
    .exchange-rates-carousel .control-btn:hover:not(:disabled) {
        background: #3498db;
        color: white;
    }
    
    .exchange-rates-carousel .rate-card {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
        border-color: #718096;
    }
    
    .exchange-rates-carousel .currency-pair {
        color: #f7fafc;
    }
    
    .exchange-rates-carousel .rate-value {
        color: #f7fafc;
    }
}

/* TradingView Widget Styles */
.tradingview-widget-container {
    margin: 30px 0;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}
.page-id-17 .page-header, .page-id-11 .page-header {
    display: none;
}
.tradingview-widget-copyright {
    font-size: 13px !important;
    line-height: 32px !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif !important;
    color: #B2B5BE !important;
}

.tradingview-widget-copyright .blue-text {
    color: #2962FF !important;
}

.tradingview-widget-copyright a {
    text-decoration: none !important;
    color: #B2B5BE !important;
}

.tradingview-widget-copyright a:visited {
    color: #B2B5BE !important;
}

.tradingview-widget-copyright a:hover .blue-text {
    color: #1E53E5 !important;
}

.tradingview-widget-copyright a:active .blue-text {
    color: #1848CC !important;
}

.tradingview-widget-copyright a:visited .blue-text {
    color: #2962FF !important;
}