/*
 * Bayi talep formları (sadakat programı tuşları): RMA, önden değişim, proje kaydı, stok rezervasyonu, demo kiti
 * ve "Talebiniz alındı" ekranı. Sitenin genel kuralı gibi köşesiz; .dreq- önekiyle sınırlı.
 */
.dreq {
    --dreq-indigo: #2e3192;
    --dreq-indigo-2: #4547ad;
    --dreq-ink: #1c1f3a;
    --dreq-muted: #6b7088;
    --dreq-line: #e4e6ef;
    --dreq-field: #f7f8fb;
    --dreq-accent: #f5d77a;
    --dreq-red: #d92d20;
    background: #f3f4f8;
    padding-bottom: 64px;
    color: var(--dreq-ink);
}

/* ---------- Lacivert bant ---------- */
.dreq-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .10), transparent 45%),
        linear-gradient(115deg, #2a2c87 0%, #34379a 55%, var(--dreq-indigo-2) 100%);
    color: #fff;
    padding: 26px 0 110px;
}
.dreq-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}
.dreq-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 44px;
    padding: 0;
    list-style: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.dreq-crumb li + li::before {
    content: "›";
    margin-right: 8px;
    color: rgba(255, 255, 255, .55);
}
.dreq-crumb a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}
.dreq-crumb a:hover {
    color: #fff;
}
.dreq-crumb li:last-child {
    color: #fff;
}
.dreq-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 220px;
}
.dreq-head-icon {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 22px;
    color: #fff;
}
.dreq-head h1 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.dreq-head p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
}
.dreq-art {
    position: absolute;
    right: 16px;
    top: 58px;
    width: 210px;
    height: 130px;
    color: #fff;
}
.dreq-art svg {
    width: 100%;
    height: 100%;
}

/* ---------- Kart ---------- */
.dreq-card {
    position: relative;
    margin-top: -64px;
    background: #fff;
    box-shadow: 0 18px 40px -18px rgba(28, 31, 58, .25);
    padding: 32px 40px 36px;
}

/* Talep sahibi */
.dreq-owner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--dreq-field);
    border: 1px solid var(--dreq-line);
    margin-bottom: 32px;
}
.dreq-owner-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #c9a24a;
    color: #8a6413;
    background: #fff;
    font-weight: 800;
    font-size: 14px;
}
.dreq-owner-label {
    display: block;
    font-size: 11px;
    color: var(--dreq-muted);
}
.dreq-owner-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--dreq-ink);
}
.dreq-owner-code {
    font-size: 12px;
    color: var(--dreq-muted);
    white-space: nowrap;
}
.dreq-owner-code strong {
    color: var(--dreq-ink);
}
.dreq-owner-tier {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--loy-strip-bg, #8a6413);
    color: var(--loy-strip-fg, #fff);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.dreq-owner-tier .loy-dia {
    width: 6px;
    height: 6px;
    border-color: currentColor;
}
.dreq-owner-tier .loy-dia.is-on {
    background: currentColor;
}

/* Bölüm başlığı */
.dreq-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}
.dreq-section::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--dreq-line);
}
.dreq-section-no {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dreq-indigo);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.dreq-section h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--dreq-ink);
}
.dreq-section + .dreq-fields {
    margin-bottom: 28px;
}

/* Alanlar */
.dreq-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dreq-ink);
}
.dreq-label .req {
    color: var(--dreq-red);
}
.dreq-input {
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    background: var(--dreq-field);
    border: 1px solid var(--dreq-line);
    border-radius: 0;
    color: var(--dreq-ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea.dreq-input {
    min-height: 120px;
    resize: vertical;
}
.dreq-input::placeholder {
    color: #9aa0b4;
}
.dreq-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--dreq-indigo);
    box-shadow: 0 0 0 3px rgba(46, 49, 146, .12);
}
.dreq-input.is-invalid {
    border-color: var(--dreq-red);
    background: #fff8f7;
}
.dreq-error {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--dreq-red);
}
.dreq-error:empty {
    display: none;
}

/* Dosya alanı */
.dreq-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 16px;
    background: #f6f7fc;
    border: 1.5px dashed #c7c9e6;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.dreq-drop:hover,
.dreq-drop.is-over {
    border-color: var(--dreq-indigo);
    background: #eef0fb;
}
.dreq-drop.is-invalid {
    border-color: var(--dreq-red);
}
.dreq-drop-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--dreq-indigo);
    box-shadow: 0 4px 12px -6px rgba(28, 31, 58, .35);
    font-size: 16px;
}
.dreq-drop-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--dreq-ink);
}
.dreq-drop-title u {
    color: var(--dreq-indigo);
}
.dreq-drop-hint {
    font-size: 12px;
    color: var(--dreq-muted);
}
.dreq-files {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}
.dreq-files li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--dreq-line);
    border-top-width: 0;
    font-size: 13px;
}
.dreq-files li:first-child {
    border-top-width: 1px;
}
.dreq-files li i {
    color: var(--dreq-indigo);
}
.dreq-files .dreq-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dreq-files .dreq-file-size {
    color: var(--dreq-muted);
    font-size: 12px;
}

/* Ürün satırları (proje kaydı) */
.dreq-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.dreq-line-no {
    flex: 0 0 32px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--dreq-indigo);
}
.dreq-line-no span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceefa;
}
.dreq-line-code {
    flex: 1;
    min-width: 0;
}
.dreq-line-qty {
    flex: 0 0 130px;
}
.dreq-line-del {
    flex: 0 0 40px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #8b90a6;
    cursor: pointer;
}
.dreq-line-del:hover {
    color: var(--dreq-red);
}
.dreq-add {
    margin-left: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #eceefa;
    border: 0;
    color: var(--dreq-indigo);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}
.dreq-add:hover {
    background: #e0e3f7;
}

/* Alt kısım */
.dreq-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--dreq-line);
}
.dreq-foot-note {
    margin-right: auto;
    font-size: 12.5px;
    color: var(--dreq-muted);
}
.dreq-foot-note span {
    color: var(--dreq-red);
}
.dreq-cancel {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--dreq-ink);
    text-decoration: none;
}
.dreq-cancel:hover {
    color: var(--dreq-indigo);
}
.dreq-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: var(--dreq-indigo);
    border: 0;
    color: #fff !important;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 10px 22px -10px rgba(46, 49, 146, .7);
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}
.dreq-btn:hover {
    background: #252879;
}
.dreq-btn:disabled {
    opacity: .7;
    cursor: wait;
}
.dreq-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fff4f2;
    border-left: 3px solid var(--dreq-red);
    color: #8a1c13;
    font-size: 14px;
}

/* ---------- Talebiniz alındı ---------- */
.dreq-done {
    text-align: center;
    padding: 44px 24px 52px;
}
.dreq-done-check {
    width: 104px;
    height: 104px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef7f0;
    box-shadow: inset 0 0 0 10px #f6fbf7;
    color: #1f8a4c;
    font-size: 36px;
}
.dreq-done h2 {
    margin: 0 0 14px;
    font-size: 28px;
    font-weight: 800;
    color: var(--dreq-ink);
}
.dreq-done p {
    max-width: 460px;
    margin: 0 auto 22px;
    color: var(--dreq-muted);
    font-size: 15px;
}
.dreq-done-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.dreq-done-meta span {
    padding: 9px 18px;
    background: var(--dreq-field);
    border: 1px solid var(--dreq-line);
    font-size: 13px;
    color: var(--dreq-muted);
}
.dreq-done-meta strong {
    margin-left: 8px;
    color: var(--dreq-ink);
}

/* ---------- Telefon ---------- */
@media (max-width: 767.98px) {
    .dreq-hero {
        padding: 18px 0 90px;
    }
    .dreq-crumb {
        margin-bottom: 26px;
    }
    .dreq-head {
        padding-right: 0;
        gap: 14px;
    }
    .dreq-head-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    .dreq-head h1 {
        font-size: 24px;
    }
    .dreq-head p {
        font-size: 14px;
    }
    .dreq-art {
        display: none;
    }
    .dreq-card {
        padding: 22px 18px 26px;
    }
    .dreq-owner {
        flex-wrap: wrap;
        padding: 14px;
    }
    .dreq-owner-tier {
        margin-left: 0;
    }
    .dreq-line-qty {
        flex-basis: 90px;
    }
    .dreq-line-no {
        display: none;
    }
    .dreq-add {
        margin-left: 0;
    }
    .dreq-foot {
        flex-wrap: wrap;
    }
    .dreq-foot-note {
        flex-basis: 100%;
    }
    .dreq-btn {
        flex: 1;
        justify-content: center;
    }
}
