/* Additional Nexus styles for transaction icons and card variants */

.nexus-transaction-icon.netflix {
    background: #E50914;
}

.nexus-transaction-icon.salary {
    background: #22c55e;
}

.nexus-transaction-icon.coffee {
    background: #00704A;
}

.nexus-transaction-icon.amazon {
    background: #FF9900;
}

.nexus-transaction-icon.uber {
    background: #000000;
}

.nexus-transaction-icon.paypal {
    background: #0070BA;
}

.nexus-transaction-icon.transfer {
    background: #6366f1;
}

.nexus-transaction-icon.electric {
    background: #FF6600;
}

/* Card variants */
.nexus-card-credit {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

.nexus-card-savings {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%) !important;
}

.nexus-card-stat {
    margin-top: 2.5rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nexus-card-stat-value {
    font-weight: 600;
    margin-left: 1rem;
}

/* Cards grid layout */
.nexus-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
}

.nexus-cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.nexus-cards-header h2 {
    margin: 0;
}

.nexus-add-card-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nexus-add-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.nexus-transactions-header {
    margin-bottom: 2rem;
}

.nexus-transactions-header h2 {
    margin: 0;
}

.nexus-card-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #f7931a 0%, #f5a623 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
}

.nexus-card-chip::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.nexus-card-number {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    font-weight: 500;
}

.nexus-card-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.nexus-card-label {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.nexus-card-value {
    font-size: 1rem;
    font-weight: 500;
}

.nexus-card-logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0.3;
}

.nexus-section {
    margin-bottom: 2rem;
}

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

.nexus-section-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.nexus-link-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nexus-link-btn:hover {
    color: #8b5cf6;
}

/* Spending chart legend */
.nexus-chart-legend {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nexus-legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nexus-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.nexus-legend-value {
    margin-left: auto;
    font-weight: 600;
}

/* Goal progress */
.nexus-goal-progress {
    margin-bottom: 1rem;
}

.nexus-goal-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.nexus-goal-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.nexus-goal-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.nexus-goal-percentage {
    font-weight: 600;
    color: #8b5cf6;
}

.nexus-goal-description {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.nexus-balance-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nexus-balance-header {
    margin-bottom: 0.5rem;
}

.nexus-currency {
    font-size: 2rem;
    opacity: 0.8;
    margin-right: 0.25rem;
}

.nexus-balance-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}