/* assets/banka.css */

.page-header-flex {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px;
}
.page-title { margin: 0; font-size: 1.6rem; color: #1e293b; }
.page-subtitle { margin: 5px 0 0 0; color: #64748b; font-size: 0.95rem; }

.btn-new {
    background: #3b82f6; color: white; border: none;
    padding: 12px 20px; border-radius: 8px; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: 0.2s;
}
.btn-new:hover { background: #2563eb; transform: translateY(-2px); }

/* Özet Kartlar */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white; border-radius: 12px; padding: 20px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border-left: 5px solid transparent;
}
.card-blue { border-left-color: #3b82f6; }
.card-purple { border-left-color: #8b5cf6; }
.card-gray { border-left-color: #6b7280; }

.card-icon {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.card-blue .card-icon { background: #eff6ff; color: #3b82f6; }
.card-purple .card-icon { background: #f3f0ff; color: #8b5cf6; }
.card-gray .card-icon { background: #f3f4f6; color: #4b5563; }

.card-info span { font-size: 0.8rem; font-weight: 600; color: #64748b; letter-spacing: 0.5px; }
.card-info h3 { margin: 5px 0 0 0; font-size: 1.5rem; color: #1e293b; }
.card-info small { font-size: 0.9rem; color: #94a3b8; font-weight: 600; }

/* Form Kartı */
.form-card {
    background: white; border-radius: 12px; padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); margin-bottom: 30px;
    border-top: 4px solid #3b82f6; animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.form-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
.form-header h3 { margin: 0; color: #334155; }
.btn-close { background: none; border: none; font-size: 1.2rem; color: #94a3b8; cursor: pointer; }
.btn-close:hover { color: #ef4444; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-weight: 600; color: #475569; font-size: 0.9rem; }
.form-group input { padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: 'Inter'; }

.form-actions { text-align: right; margin-top: 20px; }
.btn-save { background: #10b981; color: white; border: none; padding: 10px 30px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.btn-save:hover { background: #059669; }

/* Banka Grid */
.bank-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}

.bank-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
    transition: transform 0.2s; display: flex; flex-direction: column;
}
.bank-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }

.bank-header {
    background: #f8fafc; padding: 20px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #e2e8f0;
}
.bank-icon {
    width: 50px; height: 50px; background: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #3b82f6; border: 1px solid #e2e8f0;
}
.bank-title h4 { margin: 0; color: #1e293b; font-size: 1.1rem; }
.bank-title span { font-size: 0.85rem; color: #64748b; }
.bank-actions { margin-left: auto; display: flex; gap: 5px; }

.btn-edit { background: none; border: none; color: #3b82f6; cursor: pointer; font-size: 1rem; opacity: 0.6; transition: 0.2s; }
.btn-edit:hover { opacity: 1; transform: scale(1.1); }

.btn-delete { background: none; border: none; color: #ef4444; opacity: 0.5; transition: 0.2s; font-size: 1rem; cursor: pointer; }
.btn-delete:hover { opacity: 1; transform: scale(1.1); }

.bank-body { padding: 20px; flex: 1; }
.info-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.info-row label { color: #94a3b8; font-weight: 600; }
.iban-text { font-family: monospace; letter-spacing: 1px; color: #334155; font-weight: 600; }
.btn-copy { background: none; border: none; color: #3b82f6; cursor: pointer; margin-left: 5px; }

.bank-footer {
    padding: 20px; background: #fff; border-top: 1px dashed #e2e8f0;
    display: flex; justify-content: space-between; align-items: center;
}
.balance-label { font-size: 0.75rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.5px; }
.balance-amount { font-size: 1.4rem; font-weight: 800; color: #1e293b; }
.text-green { color: #059669; }
.text-red { color: #ef4444; }

.empty-state {
    grid-column: 1 / -1; text-align: center; padding: 50px; color: #94a3b8;
    background: #f8fafc; border-radius: 12px; border: 2px dashed #e2e8f0;
}
.empty-state i { font-size: 3rem; margin-bottom: 10px; opacity: 0.5; }

.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.alert.success { background:#dcfce7; color:#166534; border: 1px solid #bbf7d0; }
.alert.error { background:#fee2e2; color:#991b1b; border: 1px solid #fecaca; }