/* assets/stok-liste.css */

/* Genel Sayfa Başlığı */
.page-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 15px;
}
.page-title { font-size: 1.6rem; color: #1e293b; margin: 0; }
.page-subtitle { color: #64748b; margin: 5px 0 0 0; font-size: 0.9rem; }

.btn-group-header {
    display: flex;
    gap: 10px;
}

.btn-new {
    color: white;
    padding: 10px 20px; border-radius: 8px;
    text-decoration: none; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    transition: 0.2s; font-size: 0.95rem;
}
.btn-new:hover { transform: translateY(-2px); }

.btn-green { background: #10b981; }
.btn-green:hover { background: #059669; }

.btn-orange { background: #f59e0b; }
.btn-orange:hover { background: #d97706; }


/* Ö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; }


/* Filtre Alanı */
.filter-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.filter-item { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 150px; }
.grow-2 { flex: 2; min-width: 250px; } 

.filter-item label { font-size: 0.8rem; font-weight: 700; color: #64748b; }
.filter-input {
    padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; width: 100%; box-sizing: border-box; font-size: 0.95rem;
}

.filter-btn-group { display: flex; gap: 10px; }

.btn-filter {
    background: #1e293b; color: white; padding: 10px 25px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; height: 40px; display: flex; align-items: center; gap: 5px;
}
.btn-reset {
    color: #ef4444; padding: 10px; font-weight: 600; height: 40px; text-decoration: underline; display: flex; align-items: center; cursor: pointer;
}


/* Tablo Alanı */
.table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
    border-top: 4px solid #f59e0b; /* Turuncu Çizgi */
}

table { width: 100%; border-collapse: collapse; min-width: 800px; }
thead { background-color: #fffbeb; border-bottom: 2px solid #fcd34d; }

th {
    padding: 15px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.9rem;
    vertical-align: middle;
}

tbody tr:hover { background-color: #f8fafc; }

/* Yardımcılar */
.badge-mini {
    background: #f1f5f9; color: #64748b; padding: 2px 6px; border-radius: 4px; font-size: 0.75rem; border: 1px solid #e2e8f0;
}

.text-red { color: #dc2626; }
.text-green { color: #059669; }
.font-bold { font-weight: 700; }

.btn-bulk-delete {
    background: #ef4444; color: white; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; display: none; align-items: center; gap: 8px; font-size: 0.9rem;
}

.custom-checkbox { width: 18px; height: 18px; cursor: pointer; accent-color: #f59e0b; }
.action-btn { padding: 8px; border-radius: 8px; color: #64748b; transition: 0.2s; margin-right: 5px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.action-btn:hover { background: #f1f5f9; }

/* Alert */
.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; }