/* =========================================================
   RITA TEKLİF FORMU
   ========================================================= */

.rita-offer {
    width: 100%;
    max-width: 680px;
    margin: 30px auto;
    padding: 34px 38px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5ebf1;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(8, 35, 65, .08);
    font-family: Arial, Helvetica, sans-serif;
    color: #071f49;
}

.rita-offer *,
.rita-offer *::before,
.rita-offer *::after {
    box-sizing: border-box;
}

/* HEADER */

.rita-offer-header {
    text-align: center;
    margin-bottom: 28px;
}

.rita-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    margin-bottom: 11px;
    background: #edf7fa;
    color: #0796aa;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.rita-badge-dot {
    width: 7px;
    height: 7px;
    background: #0796aa;
    border-radius: 50%;
}

.rita-offer-header h2 {
    margin: 0;
    color: #061d46;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
}

.rita-offer-header p {
    margin: 8px 0 0;
    color: #71819a;
    font-size: 14px;
}


/* =========================================================
   STEPPER
   ========================================================= */

.rita-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 470px;
    margin: 0 auto 30px;
}

.rita-step {
    width: 72px;
    text-align: center;
    flex-shrink: 0;
}

.rita-step-circle {
    width: 30px;
    height: 30px;
    margin: 0 auto 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #d9e2eb;
    background: #fff;
    color: #7a8798;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.rita-step span {
    display: block;
    font-size: 10px;
    color: #8390a2;
    white-space: nowrap;
}

.rita-step.active .rita-step-circle,
.rita-step.completed .rita-step-circle {
    background: #082d6b;
    border-color: #082d6b;
    color: #fff;
}

.rita-step.active span,
.rita-step.completed span {
    color: #082d6b;
    font-weight: 600;
}

.rita-step-line {
    width: 100px;
    height: 1px;
    margin-top: 15px;
    background: #dce4ec;
    transition: .2s ease;
}

.rita-step-line.active {
    background: #082d6b;
}


/* =========================================================
   SCREEN
   ========================================================= */

.rita-screen {
    display: none;
}

.rita-screen.active {
    display: block;
}


/* =========================================================
   SCREEN HEADER
   ========================================================= */

.rita-screen-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.rita-screen-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eff5fb;
    color: #082d6b;
    font-size: 15px;
    font-weight: 700;
}

.rita-screen-head h3 {
    margin: 0 0 3px;
    color: #071f49;
    font-size: 16px;
    font-weight: 700;
}

.rita-screen-head p {
    margin: 0;
    color: #8491a3;
    font-size: 11px;
}


/* =========================================================
   SİGORTA SEÇİMİ
   ========================================================= */

.rita-insurance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rita-insurance-card {
    position: relative;
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid #edf0f3;
    background: #f7f7f7;
    border-radius: 0;
    color: #071f49;
    cursor: pointer;
    text-align: left;
    transition: .18s ease;
}

.rita-insurance-card:hover {
    background: #f0f7fa;
    border-color: #9dd4df;
}

.rita-insurance-card.selected {
    background: #eef9fb;
    border-color: #0c9bb0;
    box-shadow: inset 0 0 0 1px #0c9bb0;
}

.rita-card-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef5fb;
    color: #082d6b;
    border-radius: 9px;
}

.rita-card-icon svg {
    width: 19px;
    height: 19px;
}

.rita-card-content {
    min-width: 0;
    flex: 1;
}

.rita-card-content strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.rita-card-content small {
    display: block;
    color: #758298;
    font-size: 9px;
    line-height: 1.2;
}

.rita-card-arrow {
    color: #9ba9b8;
    font-size: 16px;
}


/* =========================================================
   BUTON
   ========================================================= */

.rita-action {
    margin-top: 15px;
}

.rita-btn {
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.rita-btn-primary {
    background: #0b9aae;
    color: #fff;
}

.rita-btn-primary:hover {
    background: #087f91;
    transform: translateY(-1px);
}

.rita-btn-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.rita-btn-primary span {
    margin-left: 8px;
}


/* =========================================================
   SEÇİLEN BRANŞ
   ========================================================= */

.rita-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 13px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8ee;
}

.rita-selected-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf7fa;
    color: #0796aa;
    font-size: 14px;
}

.rita-selected-info {
    flex: 1;
}

.rita-selected-info small {
    display: block;
    margin-bottom: 2px;
    color: #8491a3;
    font-size: 9px;
}

.rita-selected-info strong {
    display: block;
    color: #071f49;
    font-size: 12px;
}

.rita-change {
    padding: 0;
    border: 0;
    background: transparent;
    color: #078da2;
    font-size: 10px;
    text-decoration: underline;
    cursor: pointer;
}


/* =========================================================
   SECTION
   ========================================================= */

.rita-section {
    margin-bottom: 16px;
    padding: 13px;
    border: 1px solid #e0e7ee;
    border-radius: 10px;
}

.rita-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #071f49;
    font-size: 11px;
    font-weight: 700;
}

.rita-section-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #eff5fb;
    color: #082d6b;
}

.rita-section-icon svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   GRID / INPUT
   ========================================================= */

.rita-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.rita-field {
    min-width: 0;
}

.rita-full {
    grid-column: 1 / -1;
}

.rita-field label {
    display: block;
    margin-bottom: 5px;
    color: #071f49;
    font-size: 10px;
    font-weight: 600;
}

.rita-field label span {
    color: #e13d3d;
}

.rita-field input,
.rita-field select,
.rita-field textarea {
    width: 100%;
    border: 1px solid #dce4ec;
    border-radius: 7px;
    background: #fbfcfd;
    color: #071f49;
    outline: none;
    font-family: inherit;
    font-size: 11px;
    transition: .18s ease;
}

.rita-field input,
.rita-field select {
    height: 36px;
    padding: 0 10px;
}

.rita-field textarea {
    min-height: 65px;
    padding: 10px;
    resize: vertical;
}

.rita-field input:focus,
.rita-field select:focus,
.rita-field textarea:focus {
    border-color: #0b9aae;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11,154,174,.08);
}

.rita-field input::placeholder,
.rita-field textarea::placeholder {
    color: #a2adba;
}


/* =========================================================
   RUHSAT
   ========================================================= */

.rita-special-section {
    margin-bottom: 17px;
}

.rita-question {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.rita-question-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef8fa;
    border-radius: 50%;
    color: #0796aa;
}

.rita-question-icon svg {
    width: 19px;
    height: 19px;
}

.rita-question h3 {
    margin: 0 0 4px;
    color: #071f49;
    font-size: 14px;
}

.rita-question p {
    max-width: 430px;
    margin: 0;
    color: #7b899b;
    font-size: 10px;
    line-height: 1.45;
}

.rita-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rita-choice {
    min-height: 72px;
    padding: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce4ec;
    border-radius: 9px;
    background: #fff;
    color: #071f49;
    cursor: pointer;
    transition: .18s ease;
}

.rita-choice:hover,
.rita-choice.active {
    border-color: #8bcbd5;
    background: #f3fbfc;
}

.rita-choice-icon {
    margin-bottom: 5px;
    font-size: 17px;
    color: #0796aa;
}

.rita-choice strong {
    font-size: 11px;
}

.rita-choice small {
    margin-top: 4px;
    color: #8390a1;
    font-size: 9px;
}


/* =========================================================
   DOSYA
   ========================================================= */

.rita-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    margin-top: 12px;
    border: 1px dashed #8cced8;
    border-radius: 9px;
    background: #f5fbfc;
    cursor: pointer;
}

.rita-upload-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e4f5f8;
    color: #0796aa;
}

.rita-upload-icon svg {
    width: 16px;
    height: 16px;
}

.rita-upload-text strong {
    display: block;
    color: #071f49;
    font-size: 10px;
}

.rita-upload-text small {
    display: block;
    margin-top: 3px;
    color: #8996a7;
    font-size: 8px;
}

.rita-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.rita-file-name {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    padding: 7px 9px;
    border-radius: 6px;
    background: #eef9f1;
    color: #218647;
    font-size: 9px;
}


/* =========================================================
   RADIO
   ========================================================= */

.rita-radio {
    display: flex;
    gap: 18px;
    align-items: center;
}

.rita-radio label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    cursor: pointer;
}

.rita-radio input {
    width: 13px;
    height: 13px;
    accent-color: #0796aa;
}


/* =========================================================
   NOTE / KVKK
   ========================================================= */

.rita-note {
    margin-bottom: 10px;
}

.rita-consent {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 15px;
    color: #788697;
    font-size: 9px;
    line-height: 1.45;
    cursor: pointer;
}

.rita-consent input {
    margin-top: 2px;
    accent-color: #0796aa;
}

.rita-consent a {
    color: #078da2;
    text-decoration: underline;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.rita-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rita-btn-back {
    border: 1px solid #071f49;
    background: #fff;
    color: #071f49;
}

.rita-btn-back:hover {
    background: #f5f7f9;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.rita-success {
    padding: 35px 10px 15px;
    text-align: center;
}

.rita-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf8ef;
    color: #20924b;
}

.rita-success-icon svg {
    width: 28px;
    height: 28px;
}

.rita-success-label {
    display: block;
    margin-bottom: 8px;
    color: #20924b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.rita-success h3 {
    margin: 0 0 8px;
    color: #071f49;
    font-size: 20px;
}

.rita-success p {
    max-width: 430px;
    margin: 0 auto 20px;
    color: #7b899b;
    font-size: 11px;
    line-height: 1.6;
}

.rita-success .rita-btn {
    max-width: 300px;
}


/* =========================================================
   ERROR
   ========================================================= */

.rita-form-message {
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 7px;
    background: #fff1f1;
    color: #c03939;
    font-size: 10px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .rita-offer {
        margin: 15px 10px;
        padding: 25px 18px;
        border-radius: 15px;
    }

    .rita-offer-header h2 {
        font-size: 23px;
    }

    .rita-insurance-grid,
    .rita-grid,
    .rita-choice-grid,
    .rita-actions {
        grid-template-columns: 1fr;
    }

    .rita-full {
        grid-column: auto;
    }

    .rita-step-line {
        width: 45px;
    }

    .rita-stepper {
        max-width: 330px;
    }
}