﻿/* Adım İlerlemesi */
.row.position-relative {
    width: 100%;
    margin-bottom: 30px;
}

/* Liste Öğesi */
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-bottom: 8px;
}

/* Soru Başlığı */
.question-title {
    flex: 1;
    font-weight: 500;
    margin-right: 10px;
    color: #333;
    font-size: 16px;
}

/* Numara Inputu */
.question-priority {
    width: 70px;
    height: 32px;
    text-align: center;
    font-size: 16px;
    border: 2px solid #ff8300;
    border-radius: 15px;
    outline: none;
    background-color: white !important;
    color: black !important;
    font-weight: bold;
    margin-right: 10px;
    caret-color: black;
}

    .question-priority::placeholder {
        color: #888 !important;
        font-size: 14px;
        text-align: center;
        font-weight: normal;
        opacity: 1;
    }

    .question-priority:focus {
        border-color: #ff8300;
        background-color: white !important;
        color: black !important;
    }

/* Konteyner */
.priority-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

@media (max-width: 768px) {
    .row.position-relative {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 0;
    }

    .step-label {
        padding-top: 50px;
    }
}
.divider {
    height: 30px;
    width: 2px;
    background-color: #e3f2fd;
    margin: 0 15px;
    display: inline-block;
    z-index: 1000;
}

.tab-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    / overflow: hidden;
    margin-top: 20px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

    .tab-pane.show.active {
        visibility: visible;
        opacity: 1;
        position: relative;
    }

.row.position-relative {
    width: 100%;
    margin-bottom: 30px;
}

.step-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ff8300 50%, #e3f2fd 50%);
    z-index: 1;
    transform: translateY(-50%);
    transition: background 0.5s ease;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e3e3e3;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #ccc;
    margin-bottom: 10px;
    z-index: 2;
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.step-item.active .step-circle {
    background-color: #ff8300;
    color: white;
    border-color: #ff8300;
}

.step-label {
    font-size: 18px;
    color: #555;
}



.step-item.active .step-label {
    color: #ff8300;
    font-weight: bold;
}



.step-circle.active {
    background-color: #ff8300;
    color: white;
    border-color: #ff8300;
}

#goToStep2 {
    background-color: #ff8300;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

    #goToStep2:hover {
        background-color: #cc6e00;
        color: white;
    }

    #goToStep2:active {
        background-color: #b35f00;
    }
/* ========= THEME TOKENS ========= */
:root {
    --brand: #ff8300; /* ana turuncu */
    --brand-600: #cc6e00;
    --ink: #1d232a; /* başlık */
    --muted: #64748b; /* açıklama */
    --bg: #fff;
    --card: #ffffff;
    --line: #e9eef5;
    --ring: 0 0 0 3px rgba(255,131,0,.18);
    --radius: 16px;
    --shadow: 0 8px 24px rgba(2, 6, 23, .08);
    --gap: 16px;
}

/* ========= LAYOUT POLISH ========= */
.container .formContainer {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.tab-content {
    width: 100%;
    max-width: 640px;
    margin: 0;
}

.card, .tab-content {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

/* ========= TYPOGRAPHY ========= */
.lead__title, .step-label-text {
    color: var(--ink);
    letter-spacing: .1px;
}

.lead__desc {
    color: var(--muted);
}

/* ========= STEPPER (gerçek progress) ========= */
.row.position-relative {
    margin-bottom: 28px;
}

/*.step-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 32px;
    height: 4px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
}

    .step-line::after {
        content: "";
        position: absolute;
        inset: 0;
        width: var(--progress,0%);
        background: var(--brand);
        transition: width .35s ease;
    }

.step-item {
    gap: 10px;
}

.step-circle {
    width: 44px;
    height: 44px;
    transform: none;
    margin: 0 0 6px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    transition: all .2s ease;
}

.step-item .step-label {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
}

.step-item .step-circle.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: var(--ring);
}

.step-item.active .step-label {
    color: var(--brand);
}*/

/* ========= INPUTS ========= */
.form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dbe2ea;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .form-control::placeholder {
        color: #98a5b3;
    }

    .form-control:focus {
        border-color: var(--brand);
        box-shadow: var(--ring);
        outline: 0;
    }

input[type="number"].question-priority {
    height: 40px;
    width: 72px;
    border-radius: 12px;
    border: 1.5px solid var(--brand);
    font-weight: 700;
    letter-spacing: .5px;
}

/* ========= FIELD BLOCKS ========= */
.mb-3 {
    margin-bottom: 14px !important;
}

.form-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

/* ========= LIST ITEMS (Step 2) ========= */
.list-group-item {
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 10px 12px;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(2,6,23,.03);
}

.question-title {
    color: #111827;
    font-weight: 600;
}

.error-message {
    display: none;
    margin-top: 6px;
    font-size: 13px;
}

.priority-container .error-message[style*="block"] {
    display: block !important;
}

/* ========= BUTTONS ========= */
.btn-success.w-100, #goToStep2, #submitForm {
    --btn-h: 48px;
    height: var(--btn-h);
    border-radius: 12px;
    border: none;
    background: linear-gradient(170deg, var(--brand), var(--brand-600));
    box-shadow: 0 6px 18px rgba(255,131,0,.25);
}

.btn-success:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

.btn-success:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ========= VALIDATION ========= */
.input-validation-error, .form-control.input-validation-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}

.text-danger, .field-validation-error {
    color: #ef4444 !important;
    font-size: 13px;
}

/* ========= SUCCESS STATE ========= */
#successMessage .fa-check-circle {
    text-shadow: 0 10px 30px rgba(34,197,94,.35);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 992px) {
    .tab-content {
        max-width: 100%;
        padding: 16px;
    }

    .card, .tab-content {
        border-radius: 14px;
    }

    .row.position-relative {
        margin-bottom: 22px;
    }

    .step-label {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    :root {
        --gap: 12px;
    }

    .form-control {
        height: 46px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ========= REDUCED MOTION ========= */
@media (prefers-reduced-motion: reduce) {
    .step-line::after, .btn-success, .form-control {
        transition: none !important;
    }
}
.form-control:hover,
.form-control:focus,
.form-control:focus-visible {
    border-color: #ff8300 !important;
    box-shadow: 0 0 0 3px rgba(255,131,0,.25) !important;
    outline: none !important;
}

@media (min-width: 992px) {
    .sticky-lg-top {
        position: sticky;
        top: 2rem;
    }
}
.success-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(2,6,23,.08);
}

.success-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 12px rgba(34,197,94,.1);
}

    .success-icon svg {
        width: 60%;
        height: 60%;
    }

.success-title {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 12px 0;
}

.success-text {
    font-size: 18px;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 16px;
}

.success-sub {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.btn-primary {
    background: linear-gradient(180deg,#22c55e,#16a34a);
    color: #fff;
    box-shadow: 0 6px 18px rgba(22,163,74,.25);
}

    .btn-primary:hover {
        filter: brightness(.95);
    }

.btn-outline {
    border: 2px solid #22c55e;
    color: #22c55e;
    background: #fff;
}

    .btn-outline:hover {
        background: #22c55e;
        color: #fff;
    }
