/* Design 4 Specific Styles - Traditional Dashboard Layout */

.design4-layout {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.design4-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.design4-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.design4-logo {
    height: 32px;
    width: 32px;
}

.design4-brand-text {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.design4-main-nav {
    display: flex;
}

.design4-nav-tab {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px 4px 0 0;
}

.design4-nav-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.design4-nav-tab.active {
    background: white;
    color: #0c0c0c;
    border-bottom-color: #0c0c0c;
    font-weight: 700;
}

.design4-user-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.design4-search-container {
    position: relative;
}

.design4-search {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    width: 250px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.design4-search:focus {
    outline: none;
    background: white;
    border-color: #0c0c0c;
    box-shadow: 0 0 0 3px rgba(12, 12, 12, 0.1);
}

.design4-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
}

.design4-avatar {
    width: 36px;
    height: 36px;
    background: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.design4-user-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.design4-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.design4-user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.design4-user-dropdown a:hover {
    background-color: #f8f9fa;
}

.design4-user-dropdown.show {
    display: block;
}

/* Main Content Grid Layout */
.design4-main {
    display: grid;
    grid-template-columns: 300px 1fr 350px;
    gap: 0;
    flex: 1;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Left Sidebar Styles */
.design4-sidebar {
    padding: 1rem 0rem;
    overflow-y: auto;
    height: calc(100vh - 80px);
}

.design4-sidebar-header {
    margin: 0 1rem 1.5rem 1rem;
    padding: 0.75rem 1rem;
    background: #f0f0f0;
    border-left: 4px solid #0c0c0c;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.design4-sidebar-header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.design4-total-balance {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0c0c0c;
}

.design4-account-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.design4-category {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    cursor: move;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.design4-category[draggable="true"]:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.design4-category.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.design4-category.drag-over {
    border: 2px dashed #0c0c0c;
    background: #f0f0f0;
}

.design4-category-header {
    background: #f8f9fa;
    color: #020202;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.design4-category-title {
    font-weight: 600;
    font-size: 14px;
}

.design4-category-total {
    font-weight: 700;
    font-size: 14px;
}

.design4-accounts-list {
    padding: 0.5rem;
}

.design4-account-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 0px;
    margin-bottom: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0px solid transparent;
    position: relative;
}

.design4-account-item:hover {
    background: #f0f0f0;
}

.design4-account-item.active {
    background: #f0f0f0;
    border-left: 4px solid #0c0c0c;
}

.design4-account-item:last-child {
    margin-bottom: 0;
}

.design4-account-name {
    font-weight: 500;
    color: #333;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.design4-account-balance {
    font-weight: 600;
    color: #0c0c0c;
    font-size: 13px;
}

.design4-account-number {
    font-weight: 400;
    color: #666;
    font-size: 11px;
}

.design4-account-alert-badge {
    background: #0c0c0c;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    top: 10%;
    right: -8px;
    transform: translateY(-50%);
    z-index: 10;
    border: 2px solid white;
}

/* Center Content Area Styles */
.design4-content {
    background: white;
    padding: 2rem;
    overflow-y: auto;
    height: calc(100vh - 80px);
}

.design4-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.design4-overview-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.design4-overview-stats {
    display: flex;
    gap: 2rem;
}

.design4-stat {
    text-align: right;
}

.design4-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0c0c0c;
}

.design4-stat-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.design4-chart-section {
    border-radius: 8px;
    margin-bottom: 2rem;
}

.design4-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.design4-chart-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.design4-time-filters {
    display: flex;
    gap: 0.5rem;
}

.design4-time-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.design4-time-btn:hover {
    background: #f0f0f0;
    border-color: #0c0c0c;
    color: #0c0c0c;
}

.design4-time-btn.active {
    background: #0c0c0c;
    color: white;
    border-color: #0c0c0c;
}

.design4-chart-area {
    height: 200px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.design4-chart-placeholder {
    text-align: center;
    color: #666;
}

.design4-chart-trend {
    margin-top: 1rem;
    font-size: 14px;
    font-weight: 600;
    color: #0c0c0c;
}

.design4-transactions-section {
    border-radius: 8px;
    margin-bottom: 2rem;
}

.design4-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.design4-section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.design4-view-all {
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.design4-view-all:hover {
    text-decoration: underline;
}

.design4-activity-table {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0px;
}

.design4-table-header {
    display: grid;
    grid-template-columns: 100px 1fr 140px 100px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design4-table-body {
    display: flex;
    flex-direction: column;
}

.design4-table-row {
    display: grid;
    grid-template-columns: 100px 1fr 140px 100px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.design4-table-row:hover {
    background: #f8f9fa;
}

.design4-table-row:last-child {
    border-bottom: none;
}

.design4-col-date {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.design4-col-activity {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.design4-col-account {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.design4-col-amount {
    font-size: 13px;
    color: #0c0c0c;
    font-weight: 600;
    text-align: right;
}

/* Right Sidebar Styles */
.design4-notifications {
    padding: 1rem 0rem;
    overflow-y: auto;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.design4-alerts-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    display: none;
}

.design4-alert-count {
    background: #0c0c0c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.design4-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}



.design4-alert-content {
    flex: 1;
}

.design4-alert-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 14px;
}

.design4-alert-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 0.25rem;
}

.design4-alert-time {
    color: #999;
    font-size: 12px;
}

.design4-quick-actions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.design4-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.design4-action-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.design4-action-btn:hover {
    background: #f0f0f0;
    border-color: #0c0c0c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.design4-action-icon {
    font-size: 20px;
}

.design4-action-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.design4-market-news {
    border-radius: 8px;
    margin-bottom: 0;
}

.design4-news-list {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.design4-news-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.design4-news-item:hover {
    background: #f8f9fa;
}

.design4-news-item:last-child {
    border-bottom: none;
}

.design4-news-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.design4-news-source {
    color: #666;
    font-size: 12px;
    margin-bottom: 0.5rem;
}

.design4-news-impact {
    font-size: 12px;
    font-weight: 600;
}

.design4-news-impact.positive {
    color: #0c0c0c;
}

.design4-news-impact.negative {
    color: #0c0c0c;
}

.design4-goals-section {
    border-radius: 8px;
    margin-bottom: 0;
}

.design4-manage-goals {
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.design4-manage-goals:hover {
    text-decoration: underline;
}

.design4-goals-list {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.design4-goal-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.design4-goal-item:hover {
    background: #f8f9fa;
}

.design4-goal-item:last-child {
    border-bottom: none;
}

.design4-goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.design4-goal-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.design4-goal-percentage {
    font-weight: 600;
    color: #0c0c0c;
    font-size: 14px;
}

.design4-progress-bar {
    background: #e0e0e0;
    border-radius: 4px;
    height: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.design4-progress-fill {
    background: #0c0c0c;
    height: 100%;
    transition: width 0.3s ease;
}

.design4-goal-status {
    font-size: 12px;
    color: #666;
}

/* Two-column layout for sections */
.design4-two-column-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .design4-two-column-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tax Center Section */
.design4-tax-section {
    border-radius: 8px;
    margin-bottom: 0;
}

.design4-tax-status {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.design4-tax-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.design4-tax-item:hover {
    background: #f8f9fa;
}

.design4-tax-item:last-child {
    border-bottom: none;
}

.design4-tax-description {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.design4-tax-date {
    color: #666;
    font-size: 12px;
    margin-top: 0.25rem;
}

.design4-tax-action {
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #0c0c0c;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.design4-tax-action:hover {
    background: #0c0c0c;
    color: white;
}

/* Retirement Section */
.design4-retirement-section {
    border-radius: 8px;
    margin-bottom: 0;
}

.design4-retirement-content {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem;
}

.design4-retirement-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.design4-retirement-action {
    background: #0c0c0c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.design4-retirement-action:hover {
    background: #333;
}

/* Updated Alert Items - Grayscale Style */
.design4-alert-item {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    border: 1px solid #e0e0e0;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.design4-alert-item:hover {
    filter: grayscale(0);
}

.design4-alert-item.urgent {
    border-left: 4px solid #666;
}

.design4-alert-item.info {
    border-left: 4px solid #666;
}

.design4-alert-item.success {
    border-left: 4px solid #666;
}

.design4-alert-icon {
    font-size: 18px;
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Additional Cards Section */
.design4-additional-cards {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.design4-card-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.design4-info-card {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.design4-card-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.design4-card-content {
    flex: 1;
}

.design4-card-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 0.25rem;
}

.design4-card-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .design4-main {
        grid-template-columns: 250px 1fr 300px;
    }
    
    .design4-search {
        width: 200px;
    }
    
    .design4-overview-stats {
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    .design4-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .design4-sidebar,
    .design4-notifications {
        height: auto;
        max-height: 400px;
    }
    
    .design4-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .design4-main-nav {
        gap: 1rem;
    }
    
    .design4-overview-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .design4-overview-stats {
        align-self: stretch;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .design4-main-nav {
        display: none;
    }
    
    .design4-search {
        width: 150px;
    }
    
    .design4-user-section {
        gap: 1rem;
    }
    
    .design4-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .design4-overview-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .design4-stat {
        text-align: left;
    }
}

/* Account Detail Page Styles */
.account-page {
    display: none;
}

.account-page.active {
    display: block;
}

.design4-account-detail {
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.account-header {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid #e0e0e0;
}

.back-button {
    background: none;
    border: 1px solid #0c0c0c;
    color: #0c0c0c;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #0c0c0c;
    color: white;
}

.account-title h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.account-number {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.account-balance-large {
    text-align: right;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c0c0c;
}

.alert-banner {
    font-size: 14px;
    font-weight: 600;
    color: #e67e22;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(230, 126, 34, 0.3);
}

.account-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.account-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Card Styles */
.account-summary-card,
.transactions-card,
.holdings-card,
.alerts-card,
.quick-actions-card,
.features-card,
.market-summary-card,
.performance-card,
.dates-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.view-all-link {
    color: #0c0c0c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Summary Rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .amount {
    font-weight: 600;
    color: #0c0c0c;
}

.summary-row .amount.positive {
    color: #27ae60;
}

.summary-row .amount.negative {
    color: #e74c3c;
}

/* Transaction Items */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.transaction-desc {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.transaction-date {
    color: #666;
    font-size: 12px;
    margin-top: 0.25rem;
}

.transaction-amount {
    font-weight: 600;
    font-size: 14px;
}

.transaction-amount.positive {
    color: #27ae60;
}

.transaction-amount.negative {
    color: #e74c3c;
}

/* Holdings */
.holdings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.holding-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.holding-symbol {
    font-weight: 700;
    color: #0c0c0c;
    font-size: 16px;
}

.holding-name {
    color: #666;
    font-size: 14px;
    margin-top: 0.25rem;
}

.holding-details {
    text-align: right;
}

.holding-shares {
    color: #666;
    font-size: 12px;
}

.holding-value {
    font-weight: 600;
    color: #0c0c0c;
    font-size: 14px;
    margin-top: 0.25rem;
}

/* Alert Items */
.alert-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-item:last-child {
    margin-bottom: 0;
}

.alert-item.urgent {
    border-left: 4px solid #e74c3c;
}

.alert-item.info {
    border-left: 4px solid #3498db;
}

.alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 16px;
}

.alert-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.alert-actions {
    display: flex;
    gap: 0.5rem;
}

.alert-button {
    padding: 0.5rem 1rem;
    border: 1px solid #0c0c0c;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.alert-button.primary {
    background: #0c0c0c;
    color: white;
}

.alert-button:not(.primary) {
    background: white;
    color: #0c0c0c;
}

.alert-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-button {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.action-button.primary {
    background: #0c0c0c;
    color: white;
    border-color: #0c0c0c;
}

.action-button:hover {
    background: #f0f0f0;
    border-color: #0c0c0c;
}

.action-button.primary:hover {
    background: #333;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.5rem 0;
    color: #333;
    font-size: 14px;
}

/* Market Summary */
.market-index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.market-index:last-child {
    border-bottom: none;
}

.index-name {
    font-weight: 500;
    color: #333;
}

.index-value {
    font-weight: 600;
}

.index-value.positive {
    color: #27ae60;
}

.index-value.negative {
    color: #e74c3c;
}

/* Chart Placeholder */
.chart-placeholder {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    border: 1px dashed #ddd;
}

.chart-visual {
    font-size: 18px;
    color: #666;
    margin-bottom: 1rem;
}

.chart-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

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

.stat-item span:first-child {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.stat-item span:last-child {
    font-weight: 600;
    font-size: 14px;
}

.stat-item .positive {
    color: #27ae60;
}

/* Date Items */
.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.date-item:last-child {
    border-bottom: none;
}

.date-label {
    color: #666;
    font-size: 14px;
}

.date-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Responsive Design for Account Pages */
@media (max-width: 1200px) {
    .account-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .account-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .account-balance-large {
        text-align: left;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .design4-account-detail {
        padding: 1rem;
    }
    
    .account-header {
        padding: 1rem;
    }
    
    .account-balance-large {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        gap: 0.5rem;
    }
    
    .chart-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}