/* ===== FINANCIAL PAGES STYLES ===== */
/* C:\xampp\htdocs\money-blog\assets\css\financial.css */

/* ===== FINANCIAL HEADER ===== */
.financial-header {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.financial-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.financial-pattern {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,10 L20,20 M20,10 L10,20 M40,40 L50,50 M50,40 L40,50 M70,70 L80,80 M80,70 L70,80" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 50px 50px;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

.financial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.financial-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.financial-icon-wrapper {
    margin-bottom: 2rem;
}

.financial-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulseIcon 3s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.financial-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.financial-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.last-update {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== FINANCIAL SECTION ===== */
.financial-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

[dir="rtl"] .search-box i {
    left: auto;
    right: 1rem;
}

.search-box input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

[dir="rtl"] .search-box input {
    padding: 0.875rem 3rem 0.875rem 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.filter-btn:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.view-buttons {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

[dir="rtl"] .view-buttons {
    margin-left: 0;
    margin-right: auto;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== LOADING & ERROR STATES ===== */
.loading-state,
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

.loading-spinner-financial {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-state i {
    font-size: 4rem;
    color: var(--error-color);
    margin-bottom: 1rem;
}

.error-state h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.error-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== EXCHANGE RATES GRID ===== */
.exchange-rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.currency-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.currency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.currency-card:hover::before {
    transform: scaleX(1);
}

.currency-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.currency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.currency-flag {
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: var(--border-radius);
}

.currency-info {
    flex: 1;
}

.currency-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.currency-code {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.currency-body {
    margin-bottom: 1.5rem;
}

.currency-rate {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rate-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rate-unit {
    font-size: 1rem;
    color: var(--text-secondary);
}

.currency-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.currency-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.currency-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.mini-chart {
    height: 50px;
    margin: 1rem 0;
}

.currency-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.currency-action {
    flex: 1;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ===== EXCHANGE RATES LIST ===== */
.exchange-rates-list {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-accent);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.list-body {
    max-height: 800px;
    overflow-y: auto;
}

.list-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    align-items: center;
}

.list-row:hover {
    background: var(--bg-accent);
}

.list-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-chart-list {
    height: 30px;
}

.list-actions {
    display: flex;
    gap: 0.25rem;
}

.list-action {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.list-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== CURRENCY MODAL ===== */
.currency-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.currency-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: var(--transition);
}

.currency-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error-color);
    color: white;
}

.modal-body {
    padding: 2rem;
}

.currency-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

.chart-container {
    height: 300px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.quick-converter {
    background: var(--bg-accent);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.quick-converter h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.converter-inputs {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.converter-inputs input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.converter-inputs input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.converter-equals {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===== STOCKS SPECIFIC ===== */
.stock-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stock-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.stock-info {
    flex: 1;
}

.stock-symbol {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stock-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stock-exchange {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--bg-accent);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stock-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stock-change {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-change-value,
.stock-change-percent {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-change.positive .stock-change-value,
.stock-change.positive .stock-change-percent {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.stock-change.negative .stock-change-value,
.stock-change.negative .stock-change-percent {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.stock-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stock-stat {
    display: flex;
    flex-direction: column;
}

.stock-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stock-stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== CURRENCY CONVERTER SPECIFIC ===== */
.converter-container {
    max-width: 800px;
    margin: 0 auto;
}

.converter-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.converter-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.converter-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.currency-select-wrapper {
    position: relative;
}

.currency-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
}

.currency-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.currency-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

[dir="rtl"] .currency-select-wrapper::after {
    right: auto;
    left: 1rem;
}

.swap-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.swap-button:hover {
    background: var(--primary-dark);
    transform: rotate(180deg);
}

.amount-input-wrapper {
    margin-bottom: 2rem;
}

.amount-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.amount-input {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.amount-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.converter-result {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.result-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-rate {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.converter-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.converter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.converter-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: var(--z-tooltip);
}

[dir="rtl"] .toast {
    right: auto;
    left: 2rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .exchange-rates-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .list-header,
    .list-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .list-header .list-col:nth-child(4),
    .list-row .list-col:nth-child(4) {
        display: none;
    }
}

@media (max-width: 768px) {
    .financial-header {
        padding: 3rem 0;
    }
    
    .financial-title {
        font-size: 2rem;
    }
    
    .financial-description {
        font-size: 1rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .view-buttons {
        margin-left: 0;
        justify-content: center;
    }
    
    .exchange-rates-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .list-header,
    .list-row {
        display: none;
    }
    
    .exchange-rates-list {
        background: transparent;
        box-shadow: none;
        border: none;
    }
    
    .list-body {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-height: none;
    }
    
    .list-row {
        display: flex;
        flex-direction: column;
        background: var(--bg-card);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
    }
    
    .converter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .swap-button {
        margin: 0 auto;
    }
    
    .converter-card {
        padding: 2rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .financial-header {
        padding: 2rem 0;
    }
    
    .financial-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .currency-card {
        padding: 1rem;
    }
    
    .rate-value {
        font-size: 1.5rem;
    }
    
    .converter-card {
        padding: 1.5rem;
    }
    
    .amount-input {
        font-size: 1.25rem;
        padding: 1rem;
    }
    
    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
    }
}

/* ===== DARK MODE SUPPORT ===== */
[data-theme="dark"] .financial-header {
    background: linear-gradient(135deg, var(--primary-dark), #0f172a);
}

[data-theme="dark"] .currency-card:hover,
[data-theme="dark"] .stock-card:hover,
[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .currency-modal {
    background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .filter-btn.active {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.currency-card,
.stock-card,
.feature-card {
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.currency-card:nth-child(1) { animation-delay: 0.1s; }
.currency-card:nth-child(2) { animation-delay: 0.15s; }
.currency-card:nth-child(3) { animation-delay: 0.2s; }
.currency-card:nth-child(4) { animation-delay: 0.25s; }
.currency-card:nth-child(5) { animation-delay: 0.3s; }
.currency-card:nth-child(6) { animation-delay: 0.35s; }

/* ===== SCROLLBAR STYLING ===== */
.list-body::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.list-body::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.list-body::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

.list-body::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== PRINT STYLES ===== */
@media print {
    .financial-header,
    .filter-bar,
    .currency-action,
    .list-action,
    .features-section,
    .modal-close {
        display: none !important;
    }
    
    .currency-card,
    .stock-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .currency-modal {
        position: static;
        opacity: 1;
        visibility: visible;
    }
}