﻿:root {
    --bg: #f3f6fa;
    --card: #fff;
    --ink: #0f172a;
    --muted: #6b7280;
    --pri: #6366f1;
    --pri-10: #eef2ff;
    --ok: #16a34a;
    --warn: #f59e0b;
    --err: #ef4444;
    --bd: #e5e7eb;
    --bd-2: #d1d5db;
    --shadow: 0 12px 40px rgba(2,6,23,.08);
}

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 500 16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif
}

.panel {
    background: var(--card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px
}

h1 {
    margin: 6px 0 0;
    text-align: center;
    font-size: 20px;
    letter-spacing: .4px
}

.steps {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 18px;
    margin: 22px 0
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #f5f7fb;
    border: 1px solid #e9edf4;
    border-radius: 14px;
    padding: 20px 10px;
    box-shadow: 0 6px 20px rgba(15,23,42,.06);
    transition: .2s ease;
    min-height: 96px;
    user-select: none;
}

    .step .dot {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: var(--card);
        box-shadow: 0 8px 22px rgba(99,102,241,.18)
    }

    .step svg {
        width: 22px;
        height: 22px;
        stroke: var(--pri)
    }

    .step span {
        font-size: 14px;
        color: #111827
    }

    .step.active {
        background: #e8ebf5;
        border-color: #c9d1e6
    }

.info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef3f8;
    border: 1px solid #11182725;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 6px 0 18px;
    font-size: 14px;
}

    .info svg {
        width: 18px;
        height: 18px;
        opacity: .8
    }

/* form helpers */
.small {
    font-size: 12px;
    color: var(--muted)
}

.help-err {
    color: var(--err);
    font-size: 12px;
    margin-top: 6px;
    display: none
}

.invalid .form-control, .invalid .form-select, .invalid textarea {
    border-color: var(--err) !important
}

/* cards */
.card-option {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 8px 22px rgba(2,6,23,.04);
    cursor: pointer;
    transition: border .15s, transform .1s ease;
}

    .card-option:hover {
        border-color: #cbd5e1
    }

    .card-option.active {
        border-color: var(--pri);
        background: #f6f7ff
    }

    .card-option .icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: #eef2ff
    }

.tarife {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

    .tarife .price {
        text-align: right
    }

        .tarife .price b {
            font-size: 18px
        }

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    background: #f4f4f5;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb
}

/* OTP boxes */
.otp {
    display: flex;
    gap: 10px;
    justify-content: center
}

    .otp input {
        width: 44px;
        height: 52px;
        text-align: center;
        font-size: 20px;
        border-radius: 12px;
        border: 1px solid var(--bd-2);
        background: #fff;
    }

        .otp input:focus {
            border-color: #b8c1ff;
            box-shadow: 0 0 0 4px var(--pri-10)
        }

.timer {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    text-align: center
}

/* Upload cards */
.uploads {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.up-card {
    width: 210px;
    min-height: 140px;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    position: relative;
    overflow: hidden
}

    .up-card input[type=file] {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer
    }

    .up-card .thumb {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
        display: none
    }

    .up-card.has-file .thumb {
        display: block
    }

    .up-card.has-file .placeholder {
        display: none
    }

.summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0
}

    .summary .s-item {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 12px
    }

@media(max-width:700px) {
    .summary {
        grid-template-columns: 1fr
    }
}

/* Result card (sonuçta modal görünümü gibi) */
.result-card .modal-content {
    border-radius: 18px;
    box-shadow: none;
}
