/* ============================================================
   Bayilik
   ============================================================ */

/* ── Bayilik: model kartı ── */
.model-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.22s,
        box-shadow 0.22s,
        border-color 0.22s;
}

.model-card:hover {
    transform: translateY(-3px);
    border-color: #ddd;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.model-card .mc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.model-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.model-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.model-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ms-red);
    flex-shrink: 0;
    margin-top: 7px;
}

/* ── Bayilik: adım çizgisi ── */
.step-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    position: relative;
    padding-bottom: 34px;
}

.step-row:last-child {
    padding-bottom: 0;
}

.step-row::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 58px;
    bottom: 8px;
    width: 2px;
    background: #ececec;
}

.step-row:last-child::after {
    display: none;
}

.step-num {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ms-font-heading);
    font-weight: 800;
    font-size: 19px;
    color: var(--ms-red);
    position: relative;
    z-index: 1;
}

/* ── Form ── */
.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field label {
    font-family: var(--ms-font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--ms-dark);
    letter-spacing: -0.01em;
}

.field label .req {
    color: var(--ms-red);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--ms-font-body);
    font-size: 14px;
    color: var(--ms-dark);
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 11px;
    padding: 13px 15px;
    outline: none;
    transition:
        border-color 0.16s,
        box-shadow 0.16s;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #aaa;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--ms-red);
    box-shadow: 0 0 0 3px rgba(186, 0, 19, 0.09);
}

.field .err {
    font-size: 12px;
    color: var(--ms-red);
}

.field input.is-err,
.field select.is-err,
.field textarea.is-err {
    border-color: var(--ms-red);
}

.field-full {
    grid-column: 1 / -1;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #666;
    line-height: 1.65;
}

.check-row input {
    width: 17px;
    height: 17px;
    accent-color: var(--ms-red);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.check-row a {
    color: var(--ms-red);
    font-weight: 600;
}

.alert-ok {
    background: rgba(30, 130, 76, 0.07);
    border: 1px solid rgba(30, 130, 76, 0.22);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    color: #1c6b41;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-err {
    background: rgba(186, 0, 19, 0.05);
    border: 1px solid rgba(186, 0, 19, 0.2);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    color: var(--ms-red);
    line-height: 1.6;
}

/* ── İki sütunlu bölüm düzeni ── */
.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

/* ── Responsive ── */
@media (max-width: 760px) {
    .split-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .step-row {
        grid-template-columns: 52px 1fr !important;
        gap: 14px !important;
    }

    .step-num {
        width: 52px;
        height: 52px;
        font-size: 17px;
    }

    .step-row::after {
        left: 26px;
        top: 50px;
    }
}
