@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-wrapper {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Sol Sorgulama Formu */
.search-card {
    flex: 1;
    padding: 40px;
    background: #ffffff;
}

.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-icon {
    font-size: 38px;
    color: #2563eb;
    margin-bottom: 10px;
}

.brand-header h2 {
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
}

.brand-header p {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: #2563eb;
}

.input-group input {
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-submit {
    margin-top: 10px;
    padding: 14px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-submit:hover {
    background: #1d4ed8;
}

/* Sağ Sonuç Ekranı */
.result-card {
    flex: 1;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-box {
    text-align: center;
    width: 100%;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.status-box.initial .status-icon { color: #94a3b8; }
.status-box.success .status-icon { color: #16a34a; }
.status-box.error .status-icon { color: #dc2626; }
.status-box.empty .status-icon { color: #d97706; }

.status-box h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 8px;
}

.status-box p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

.details-list {
    margin-top: 20px;
    text-align: left;
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span {
    color: #64748b;
}

.detail-item strong {
    color: #0f172a;
}

.badge-notice {
    margin-top: 15px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }
    .result-card {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
}


/* ------------- Yeni Ekle Dosyası --------------- */

.admin-wrapper {
            width: 100%;
            max-width: 900px;
            margin: 40px auto;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            padding: 35px;
        }
        .section-title {
            font-size: 18px;
            color: #0f172a;
            font-weight: 700;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        .full-width { grid-column: span 2; }
        select.custom-select {
            padding: 12px 14px;
            border: 1.5px solid #cbd5e1;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            background: #fff;
            width: 100%;
        }
        .alert-bar {
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .alert-bar.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
        .alert-bar.hata { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
        .preview-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
            font-size: 13.5px;
        }
        .preview-table th {
            background: #2563eb;
            color: #fff;
            text-align: left;
            padding: 10px;
        }
        .preview-table td {
            padding: 10px;
            border-bottom: 1px solid #e2e8f0;
        }
        .divider {
            border: 0;
            border-top: 1px solid #e2e8f0;
            margin: 30px 0;
        }
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        .btn-link {
            text-decoration: none;
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
        }
        .btn-link:hover { color: #2563eb; }