/* Elegant Theme & Responsive Logic */
:root {
    --primary: #d4a373; /* Elegant Gold */
    --secondary: #faedcd; /* Soft Cream */
    --bg: #fefae0;
    --white: #ffffff;
    --danger: #e76f51;
}

body { font-family: 'Inter', sans-serif; background: var(--bg); color: #454545; line-height: 1.6; }
.container { width: 95%; max-width: 1100px; margin: 30px auto; background: var(--white); border-radius: 20px; padding: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }

header { text-align: center; border-bottom: 2px solid var(--secondary); padding-bottom: 20px; margin-bottom: 25px; }
header img { max-width: 180px; }

.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 15px; }
input, select { padding: 12px; border: 1px solid #e0e0e0; border-radius: 10px; font-size: 14px; background: #fafafa; }

.btn { background: var(--primary); color: #fff; padding: 12px 25px; border: none; border-radius: 10px; cursor: pointer; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-block { width: 100%; box-sizing: border-box; }
.btn-sm { font-size: 12px; padding: 5px 10px; border-radius: 5px; background: #eee; text-decoration: none; color: #333; }
.btn-danger { background: var(--danger); color: #fff; }

table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th { background: #f8f9fa; padding: 15px; text-align: left; font-size: 13px; text-transform: uppercase; color: #888; border-bottom: 2px solid #eee; }
td { padding: 15px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }

.brand-label { padding: 4px 12px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: bold; }
.status-badge { background: var(--secondary); padding: 4px 10px; border-radius: 20px; font-size: 12px; }

/* Admin Kartları */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; margin-top: 20px; }
.brand-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.brand-card-body { padding: 10px; display: flex; justify-content: space-between; align-items: center; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    table thead { display: none; }
    table tr { display: block; background: #fff; border: 1px solid #eee; margin-bottom: 15px; border-radius: 15px; padding: 10px; }
    table td { display: flex; justify-content: space-between; padding: 8px 10px; border-bottom: none; }
    table td::before { content: attr(data-label); font-weight: bold; color: var(--primary); }
}

/* PDF Çıktı Ayarı */
@media print {
    .no-print { display: none !important; }
    .container { box-shadow: none; border: none; width: 100%; margin: 0; padding: 0; }
    body { background: white; }
    table { font-size: 12px; }
}