/* ==================================================
   GENEL
================================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}


/* ==================================================
   TEMEL YARDIMCI SINIFLAR
================================================== */

.hidden {
    display: none !important;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-3 {
    gap: 0.75rem;
}

.space-x-3 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.75rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}


/* ==================================================
   BOYUTLAR
================================================== */

.w-full {
    width: 100%;
}

.w-1\/2 {
    width: 50%;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-md {
    max-width: 28rem;
}


/* ==================================================
   PADDING / MARGIN
================================================== */

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}


/* ==================================================
   RENKLER
================================================== */

.bg-white {
    background-color: #ffffff;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.bg-slate-100 {
    background-color: #f1f5f9;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.bg-indigo-600 {
    background-color: #4f46e5;
}

.bg-emerald-600 {
    background-color: #059669;
}

.bg-rose-600 {
    background-color: #e11d48;
}

.text-white {
    color: #ffffff;
}

.text-indigo-200 {
    color: #c7d2fe;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-700 {
    color: #334155;
}

.text-slate-800 {
    color: #1e293b;
}


/* ==================================================
   YAZI
================================================== */

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-mono {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        "Courier New",
        monospace;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.text-center {
    text-align: center;
}


/* ==================================================
   KENARLIKLAR
================================================== */

.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-b-2 {
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.border-slate-300 {
    border-color: #cbd5e1;
}

.border-indigo-100 {
    border-color: #e0e7ff;
}

.border-indigo-600 {
    border-color: #4f46e5;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.overflow-hidden {
    overflow: hidden;
}


/* ==================================================
   GÖLGE / GEÇİŞ
================================================== */

.shadow-lg {
    box-shadow:
        0 10px 15px -3px rgb(0 0 0 / 10%),
        0 4px 6px -4px rgb(0 0 0 / 10%);
}

.transition,
.transition-all {
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


/* ==================================================
   HOVER
================================================== */

.hover\:bg-indigo-700:hover {
    background-color: #4338ca;
}

.hover\:bg-emerald-700:hover {
    background-color: #047857;
}

.hover\:bg-rose-700:hover {
    background-color: #be123c;
}

.hover\:text-indigo-600:hover {
    color: #4f46e5;
}


/* ==================================================
   FORM FOCUS
================================================== */

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow:
        0 0 0 2px rgb(99 102 241 / 35%);
}

.focus\:ring-indigo-500:focus {
    border-color: #6366f1;
}


/* ==================================================
   LOGO
================================================== */

.login-brand-logo {
    width: 76px;
    height: 76px;
    display: block;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 18px;
}


/* ==================================================
   HESAP TÜRÜ KARTLARI
================================================== */

.account-type-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.account-type-card:hover {
    border-color: #a5b4fc;
    background: #f8faff;
}

.account-type-card.selected {
    border-color: #4f46e5;
    background: #eef2ff;

    box-shadow:
        0 0 0 3px rgb(79 70 229 / 10%);
}

.account-type-card input {
    margin-top: 4px;
}

.account-type-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    color: #4338ca;
    background: #e0e7ff;
    border-radius: 9px;
}

.account-type-title {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.account-type-description {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}


/* ==================================================
   MOBİL
================================================== */

@media (min-width: 640px) {

    .sm\:grid-cols-2 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}