/**
 * Legacy Tailwind utility compatibility (panel, admin, checkout views)
 * Tema token'ları ile uyumlu; Tailwind CDN kaldırıldıktan sonra geçici katman.
 */

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: var(--mono); }

.text-left { text-align: left; }
.text-center { text-align: center; }
.capitalize { text-transform: capitalize; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.whitespace-nowrap { white-space: nowrap; }
.cursor-pointer { cursor: pointer; }

.text-gray-300 { color: var(--text); }
.text-gray-400 { color: var(--text-muted); }
.text-gray-500 { color: var(--text-dim); }
.text-brand-400 { color: var(--primary-light-text); }
.text-emerald-400 { color: var(--green-text); }
.text-yellow-400 { color: var(--yellow-text); }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-6 { gap: 1.5rem; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.overflow-hidden { overflow: hidden; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: var(--radius); }

[class*="bg-dark-900"] {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[class*="border-white"] { border-color: var(--border) !important; }

[class*="bg-brand-600"],
[class*="bg-brand-500"] {
    background: var(--primary-soft);
    border-color: var(--primary-border) !important;
}

[class*="bg-yellow-500"] {
    background: var(--yellow-soft);
    border-color: var(--yellow-border, rgba(202, 138, 4, 0.28)) !important;
}

.ml-8 { margin-left: 2rem; }
.mr-8 { margin-right: 2rem; }

.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b.border-white\/5,
[class*="border-white"][class*="border-b"] { border-bottom-color: var(--border); }
.last\:border-0:last-child { border-bottom: none; }

a.text-brand-400:hover,
.text-brand-400.hover\:underline:hover,
a.hover\:underline:hover { text-decoration: underline; }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:col-span-2 { grid-column: span 2 / span 2; }
}

.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.block { display: block; }
.shrink-0 { flex-shrink: 0; }
.hover\:text-white:hover { color: var(--text); }
