/**
 * Atlas Finance Live Module - CSS Styles
 * Responsive ve modern tasarım
 */

.atlas-finance-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.atlas-finance-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

/* Liste Stilleri */
.atlas-finance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atlas-finance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.atlas-finance-item:last-child {
    border-bottom: none;
}

.atlas-finance-item:hover {
    background-color: #f8fafc;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}

.atlas-finance-name {
    font-weight: 500;
    color: #334155;
    flex: 1;
}

.atlas-finance-value {
    font-weight: 600;
    color: #1e293b;
    margin: 0 15px;
    font-size: 16px;
}

.atlas-finance-change {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    min-width: 60px;
    text-align: right;
}

.atlas-finance-change.positive {
    color: #059669;
    background-color: #d1fae5;
}

.atlas-finance-change.negative {
    color: #dc2626;
    background-color: #fee2e2;
}

/* Tablo Stilleri */
.atlas-finance-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.atlas-finance-table thead {
    background-color: #f8fafc;
}

.atlas-finance-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.atlas-finance-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.atlas-finance-table tbody tr:hover {
    background-color: #f8fafc;
}

.atlas-finance-table tbody tr:last-child td {
    border-bottom: none;
}

/* Kart Stilleri */
.atlas-finance-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Hata Mesajları */
.atlas-finance-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #dc2626;
    margin: 15px 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .atlas-finance-container {
        padding: 15px;
    }

    .atlas-finance-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .atlas-finance-value,
    .atlas-finance-change {
        margin: 0;
        width: 100%;
    }

    .atlas-finance-table {
        font-size: 14px;
    }

    .atlas-finance-table th,
    .atlas-finance-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .atlas-finance-title {
        font-size: 16px;
    }

    .atlas-finance-table {
        font-size: 12px;
    }

    .atlas-finance-table th,
    .atlas-finance-table td {
        padding: 6px;
    }
}



