/* Genel Ayarlar */
body {
    background: linear-gradient(135deg, #141025, #1a1433);
    color: #e0e0e0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-top: 0;
}

/* Dashboard Layout */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.user-info span {
    margin-right: 15px;
    color: #aaa;
}

.logout-btn {
    text-decoration: none;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #e74c3c;
    color: #fff;
}

/* Kartlar */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.card h3 {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.card .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.text-income { color: #2ecc71 !important; }
.text-expense { color: #e74c3c !important; }
.text-fund { color: #f1c40f !important; }
.text-net { color: #3498db !important; }

/* İşlem Alanları */
.actions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-card {
    background: rgba(30, 30, 50, 0.5);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.action-card h3 {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

input, select {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
}

input:focus, select:focus {
    outline: none;
    border-color: #6c5ce7;
}

button.btn-submit {
    width: 100%;
    padding: 12px;
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button.btn-submit:hover {
    background: #5b4cc4;
}

.btn-transfer {
    background: #e67e22;
}

.btn-transfer:hover {
    background: #d35400;
}

/* Tablolar */
.table-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.export-btn {
    background: #27ae60;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
    background: rgba(0,0,0,0.2);
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

td {
    color: #ccc;
    font-size: 0.95rem;
}

tr:hover {
    background: rgba(255,255,255,0.02);
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-income { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.badge-expense { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .actions-container {
        grid-template-columns: 1fr;
    }
}
