/* assets/nakliye-rehberi.css */

.page-header-flex { 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; }

/* Grid Yapısı */
.rehber-grid {
    display: grid; grid-template-columns: 1fr 2fr; gap: 30px;
}
@media (max-width: 992px) { .rehber-grid { grid-template-columns: 1fr; } }

/* Form Kartı */
.form-card {
    background: white; border-radius: 12px; padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; position: relative;
}
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
.card-header h3 { margin: 0; color: #334155; font-size: 1.1rem; }
.btn-reset-form { background: #f1f5f9; color: #64748b; border: none; padding: 5px 10px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }
.btn-reset-form:hover { background: #e2e8f0; color: #334155; }

.form-section-label {
    font-size: 0.85rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 15px; padding-bottom: 5px; border-bottom: 2px solid #f1f5f9;
}
.mt-20 { margin-top: 25px; }

.form-group { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #475569; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: 'Inter'; font-size: 0.95rem;
    transition: 0.2s;
}
.form-group input:focus { border-color: #3b82f6; outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

.plaka-input { text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.input-big { font-size: 1.1rem !important; font-weight: 700; color: #1e40af; }
.input-group-text { position: relative; }
.input-group-text input { padding-right: 30px; text-align: right; }
.input-group-text::after { content: '₺'; position: absolute; right: 10px; top: 38px; color: #94a3b8; font-weight: bold; }

.btn-mini-add { background: #f1f5f9; color: #64748b; border: none; width: 20px; height: 20px; border-radius: 4px; cursor: pointer; font-size: 0.7rem; float: right; }
.btn-mini-add:hover { background: #e2e8f0; }

.btn-save {
    width: 100%; background: #3b82f6; color: white; border: none; padding: 15px; border-radius: 8px; 
    font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.2s; margin-top: 10px;
}
.btn-save:hover { background: #2563eb; transform: translateY(-2px); }

/* Filtre Kutusu */
.filter-box { background: white; padding: 15px; border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); margin-bottom: 20px; border: 1px solid #e2e8f0; }
.filter-form { display: flex; gap: 10px; }
.f-item { flex: 1; }
.f-item input, .f-item select { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; }
.f-btn { display: flex; gap: 5px; }
.f-btn button { background: #1e293b; color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; }
.btn-clear { background: #ef4444; color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Liste Kartı */
.list-card {
    background: white; border-radius: 12px; padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
}
.count-badge { background: #eff6ff; color: #3b82f6; padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 15px; background: #f8fafc; color: #64748b; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
td { padding: 15px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #334155; }
tr:hover { background: #f8fafc; }

/* Tablo İçerik Stilleri */
.plaka-badge {
    background: #fff; border: 2px solid #1e293b; color: #1e293b; padding: 2px 8px; border-radius: 4px; 
    font-weight: 800; font-family: monospace; font-size: 1rem; display: inline-block;
}
.arac-tipi { font-size: 0.8rem; color: #64748b; margin-top: 4px; font-weight: 600; }

.sofor-adi { font-weight: 700; color: #1e293b; font-size: 0.95rem; }
.sofor-tel { font-size: 0.85rem; color: #64748b; margin-top: 2px; }
.sofor-tc { font-size: 0.75rem; color: #94a3b8; margin-top: 1px; font-family: monospace; }

.route-main { font-weight: 700; color: #0f172a; }
.route-sub { font-size: 0.85rem; color: #64748b; }

.text-right { text-align: right; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-blue { color: #2563eb; font-size: 1.1rem; }

.btn-action { width: 32px; height: 32px; border-radius: 6px; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; text-decoration: none; margin: 0 2px; font-size: 0.85rem; }
.btn-edit { background: #eff6ff; color: #3b82f6; }
.btn-edit:hover { background: #dbeafe; }
.btn-delete { background: #fee2e2; color: #ef4444; }
.btn-delete:hover { background: #fecaca; }

.no-data { text-align: center; padding: 40px; color: #94a3b8; font-style: italic; }

.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; }

/* Modal Stilleri */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; }
.modal-box { background: white; padding: 25px; border-radius: 12px; width: 400px; max-width: 90%; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.modal-header { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.modal-close { cursor: pointer; font-size: 1.2rem; color: #999; }
.type-list { max-height: 200px; overflow-y: auto; margin-top: 15px; border-top: 1px solid #eee; }
.type-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f9f9f9; font-size: 0.9rem; }
.btn-mini-del { color: #ef4444; cursor: pointer; }