﻿.pa-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f4f7fc;
    color: #102657;
}

.pa-topbar {
    width: 100%;
    height: 98px;
    background: #102f69;
    color: #fff;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.pa-topbar-inner {
    width: 100%;
    max-width: 1740px;
    margin: 0 auto;
    padding: 0 76px;
    display: flex;
    align-items: center;
    gap: 42px;
}

.pa-brand-area {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 38px;
    border-right: 1px solid rgba(255,255,255,.55);
}

.pa-brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.pa-topbar-title {
    display: flex;
    align-items: center;
    gap: 48px;
}

    .pa-topbar-title h1 {
        margin: 0;
        color: #fff;
        font-size: 32px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.3px;
    }

    .pa-topbar-title p {
        margin: 0;
        color: rgba(255,255,255,.9);
        font-size: 16px;
        font-weight: 500;
    }

.pa-page {
    background: #f4f7fc;
    min-height: 720px;
    padding: 28px 0 36px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    flex: 1 0 auto;
}

    .pa-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(90deg, rgba(16, 38, 87, .025) 1px, transparent 1px), linear-gradient(rgba(16, 38, 87, .025) 1px, transparent 1px);
        background-size: 230px 230px;
        pointer-events: none;
    }

.pa-decor {
    position: absolute;
    opacity: .09;
    pointer-events: none;
    z-index: 0;
}

.pa-decor-left-wallet {
    left: 0;
    top: 150px;
    width: 135px;
}

.pa-decor-left-phone {
    left: 0;
    top: 350px;
    width: 125px;
}

.pa-decor-right-bag {
    right: 0;
    top: 300px;
    width: 145px;
}

.pa-decor-right-key {
    right: 10px;
    top: 510px;
    width: 105px;
}

.pa-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.pa-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
}

.pa-tab {
    width: 360px;
    height: 62px;
    border-radius: 8px;
    border: 1px solid #d8deea;
    background: #fff;
    color: #102657;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(20, 42, 82, .05);
    position: relative;
}

    .pa-tab:hover {
        transform: translateY(-1px);
    }

    .pa-tab.active {
        background: #e5252a;
        color: #fff;
        border-color: #e5252a;
        box-shadow: 0 8px 18px rgba(229, 37, 42, .22);
    }

        .pa-tab.active::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -12px;
            height: 4px;
            background: #e5252a;
        }

.pa-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
}

    .pa-icon svg {
        width: 100%;
        height: 100%;
        display: block;
        stroke: currentColor;
    }

.pa-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "left right"
        "info submit";
    gap: 28px;
    align-items: start;
}

.pa-left-stack {
    grid-area: left;
}

.pa-right-stack {
    grid-area: right;
}

.pa-form-grid > .pa-info-box {
    grid-area: info;
    align-self: start;
}

.pa-form-grid > .pa-submit-wrapper {
    grid-area: submit;
    align-self: start;
}

.pa-left-stack,
.pa-right-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pa-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 32px 34px;
    box-shadow: 0 8px 24px rgba(20, 42, 82, .06);
    min-height: 0;
}

.pa-card-topic-main {
    min-height: 0;
}

.pa-card-topic {
    min-height: 0;
    margin-top: 18px;
    padding: 22px 24px 24px;
    box-shadow: 0 4px 16px rgba(20, 42, 82, .04);
}

.pa-card-topic .pa-card-topic-title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.pa-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #102657;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dce4f0;
}

.pa-title-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5252a;
    color: #fff;
    flex: 0 0 46px;
}

    .pa-title-icon.blue {
        background: #102657;
    }

    .pa-title-icon svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
    }

.pa-inline-field {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px 18px;
    align-items: center;
    margin-bottom: 18px;
}

.pa-inline-field-top {
    align-items: start;
}

    .pa-inline-field > label {
        margin: 0;
        color: #102657;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.3;
        padding-top: 14px;
    }

    .pa-inline-field:not(.pa-inline-field-top) > label {
        padding-top: 0;
    }

    .pa-inline-field .pa-textarea {
        height: 130px;
    }

.pa-section-divider {
    height: 1px;
    background: #dce4f0;
    margin: 10px 0 24px;
}

.pa-card-title-section {
    margin-top: 0;
}

.pa-upload-field {
    margin-top: 8px;
}

.pa-captcha {
    margin-top: 18px;
}

.pa-captcha-label {
    display: block;
    color: #102657;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pa-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pa-captcha-image {
    display: block;
    width: 160px;
    height: 52px;
    border: 1px solid #c7d2e3;
    border-radius: 8px;
    background: #f4f7fc;
    object-fit: contain;
}

.pa-captcha-refresh {
    width: 42px;
    height: 42px;
    border: 1px solid #c7d2e3;
    border-radius: 8px;
    background: #fff;
    color: #102657;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 42px;
}

    .pa-captcha-refresh:hover,
    .pa-captcha-refresh:focus {
        border-color: #102657;
        outline: 2px solid rgba(16, 38, 87, .15);
        outline-offset: 1px;
    }

    .pa-captcha-refresh svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
    }

.pa-captcha-input {
    width: 150px;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pa-required-text {
    display: block;
    color: #e5252a;
    font-size: 14px;
    font-weight: 800;
    margin-top: 2px;
}

.pa-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 18px;
}

.pa-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

    .pa-field label,
    .pa-label {
        color: #102657;
        font-size: 15px;
        font-weight: 800;
        margin-bottom: 8px;
    }

.pa-input,
.pa-select,
.pa-textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #c7d2e3;
    border-radius: 9px;
    background: #fff;
    color: #102657;
    font-size: 16px;
    padding: 0 16px;
    outline: none;
    box-sizing: border-box;
    box-shadow: none;
}

    .pa-input:focus,
    .pa-select:focus,
    .pa-textarea:focus {
        border-color: #102657;
        box-shadow: 0 0 0 3px rgba(16, 38, 87, .08);
    }

.pa-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #102657 50%), linear-gradient(135deg, #102657 50%, transparent 50%);
    background-position: calc(100% - 22px) 20px, calc(100% - 14px) 20px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.pa-textarea {
    height: 112px;
    padding: 14px 16px;
    resize: none;
    line-height: 1.45;
}

    .pa-input::placeholder,
    .pa-textarea::placeholder {
        color: #8b98ad;
        opacity: 1;
    }

    .pa-input:disabled,
    .pa-select:disabled,
    .pa-textarea:disabled {
        background: #f3f6fb;
        color: #9aa6b8;
        cursor: not-allowed;
    }

.pa-required-mark {
    color: #e5252a;
    margin-left: 3px;
    font-weight: 900;
}

.pa-field-hint {
    margin-top: 6px;
    color: #7a879b;
    font-size: 12px;
    line-height: 1.35;
}

.pa-input-error {
    border-color: #e5252a !important;
    box-shadow: 0 0 0 3px rgba(229, 37, 42, .08) !important;
}

.pa-form-message {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.pa-field-full .pa-textarea {
    height: 140px;
}

.pa-topic-subject-field {
    margin-bottom: 0;
}

.pa-required-fields-title {
    color: #102657;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
    padding-top: 6px;
}

.pa-dynamic-fields {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    align-items: start;
}

.pa-topic-details {
    margin-top: 0;
}

.pa-topic-details.is-collapsed {
    display: none !important;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

    .pa-topic-details:not(.is-collapsed) {
        margin-top: 22px;
        padding-top: 5px;
        border-top: 1px solid #dce4f0;
    }

/* Kutular açılınca: Zorunlu Alanlar → çizgi → Başvuru Detayı */
.pa-topic-details:not(.is-collapsed) + .pa-inline-field {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #dce4f0;
}

.pa-topic-details .pa-dynamic-fields {
    margin-top: 0;
}

.pa-dynamic-field {
    margin: 0;
}

.pa-dynamic-fields .pa-field label {
    margin-bottom: 8px;
}

.pa-vehicle-exception {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
}

.pa-vehicle-exception--single {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.pa-check-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
}

.pa-check-line input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    accent-color: #e5252a;
    cursor: pointer;
}

.pa-check-line span {
    display: inline-block;
}

.pa-toggle-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: #102657;
    font-size: 15px;
    font-weight: 500;
}

.pa-switch {
    position: relative;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
}

    .pa-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.pa-switch-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d4dbe8;
    border-radius: 999px;
    transition: .2s;
}

    .pa-switch-slider::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        left: 3px;
        top: 3px;
        background: #fff;
        border-radius: 50%;
        transition: .2s;
    }

.pa-switch input:checked + .pa-switch-slider {
    background: #102657;
}

    .pa-switch input:checked + .pa-switch-slider::before {
        transform: translateX(20px);
    }

.pa-upload {
    border: 2px dashed #d4dfef;
    border-radius: 14px;
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    cursor: pointer;
    background: #fff;
    transition: all .2s ease;
}

    .pa-upload:hover {
        border-color: #102657;
        background: #f8faff;
    }

    .pa-upload input {
        display: none;
    }

.pa-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 50px;
    margin: 0 auto 6px auto;
    color: #102657;
}

    .pa-upload-icon .pa-upload-svg {
        display: block;
        width: 52px !important;
        height: 52px !important;
        overflow: visible;
    }

.pa-upload-title {
    display: block;
    color: #102657;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1.35;
}

.pa-upload-desc {
    display: block;
    color: #102657;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.35;
}

.pa-upload-format {
    display: block;
    color: #e5252a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.pa-selected-files {
    margin-top: 10px;
    color: #102657;
    font-size: 12px;
    line-height: 1.5;
}

.pa-info-box {
    margin-top: 0;
    background: #fff;
    border: 1.5px solid #e5252a;
    border-radius: 24px;
    padding: 14px 18px;
    color: #102657;
    font-size: 14px;
    line-height: 1.45;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 4px 14px rgba(229, 37, 42, .08);
}

.pa-info-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e5252a;
    color: #fff;
    border-radius: 999px;
    padding: 7px 14px 7px 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pa-info-badge-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.pa-info-check {
    width: 18px;
    height: 18px;
    accent-color: #e5252a;
    margin: 0;
    flex: 0 0 18px;
    cursor: pointer;
}

.pa-info-text {
    flex: 1 1 auto;
    margin: 0;
    color: #102657;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    cursor: pointer;
}

.pa-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.pa-submit-wrapper-right {
    justify-content: stretch;
}

.pa-submit-wrapper-right .pa-submit {
    width: 100%;
}

.pa-submit {
    width: 560px;
    height: 56px;
    border: none;
    border-radius: 10px;
    background: #e5252a;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(229, 37, 42, .25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: all .2s ease;
}

    .pa-submit:hover {
        background: #cf1f24;
        transform: translateY(-1px);
    }

    .pa-submit svg {
        width: 28px;
        height: 28px;
        stroke: currentColor;
    }

.pa-result {
    margin-top: 18px;
    text-align: center;
}

    .pa-result pre {
        background: rgba(255,255,255,.65);
        border: 1px solid rgba(16,38,87,.12);
        border-radius: 8px;
        padding: 12px;
        font-size: 12px;
        color: #102657;
        overflow-x: auto;
        max-height: 260px;
    }

.pa-alert-success {
    background: #e8f7ee;
    color: #126734;
    padding: 12px 16px;
    border-radius: 8px;
}

.pa-alert-danger {
    background: #fdecec;
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: 8px;
}

.pa-tab-content {
    display: none;
}

    .pa-tab-content.active {
        display: block;
    }

.pa-search-card {
    max-width: 620px;
    margin: 0 auto;
}

.pa-search-card--expanded {
    max-width: 760px;
}

.pa-search-result-title {
    font-weight: 700;
    margin-bottom: 14px;
}

.pa-search-details-title {
    font-size: 15px;
    font-weight: 800;
    color: #102657;
    margin: 4px 0 12px;
    padding-top: 4px;
    border-top: 1px solid rgba(16, 38, 87, 0.12);
}

.pa-search-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pa-search-details__row {
    display: grid;
    grid-template-columns: minmax(130px, 38%) 1fr;
    gap: 10px 16px;
    align-items: start;
}

.pa-search-details__label {
    font-weight: 700;
    color: #334155;
}

.pa-search-details__value {
    color: #0f172a;
    word-break: break-word;
}

.pa-search-details__value--multiline {
    white-space: pre-wrap;
}

@media (max-width: 640px) {
    .pa-search-details__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.pa-bottom-bar {
    width: 100%;
    height: 74px;
    background: #102f69;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    flex: 0 0 auto;
}

.pa-bottom-inner {
    width: 100%;
    max-width: 1740px;
    margin: 0 auto;
    padding: 0 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.pa-bottom-link {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.pa-bottom-separator {
    width: 1px;
    height: 34px;
    background: rgba(255,255,255,.42);
}

.pa-heart-logo {
    position: absolute;
    right: 0px;
    bottom: 0;
    width: 150px;
    height: auto;
    display: block;
    z-index: 5;
}

@media (max-width: 1200px) {
    .pa-container {
        max-width: 1120px;
    }

    .pa-tab {
        width: 300px;
    }

    .pa-submit {
        width: 430px;
    }

    .pa-heart-logo {
        width: 105px;
        right: 0px;
    }
}

@media (max-width: 992px) {
    .pa-topbar {
        height: auto;
        min-height: 96px;
        padding: 18px 0;
    }

    .pa-topbar-inner {
        padding: 0 24px;
        gap: 22px;
        flex-wrap: wrap;
    }

    .pa-brand-area {
        padding-right: 22px;
    }

    .pa-brand-logo {
        height: 44px;
    }

    .pa-topbar-title {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

        .pa-topbar-title h1 {
            font-size: 24px;
        }

        .pa-topbar-title p {
            font-size: 14px;
        }

    .pa-form-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "right"
            "info"
            "submit";
    }

    .pa-dynamic-fields {
        grid-template-columns: 1fr;
    }

    .pa-inline-field {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pa-inline-field > label,
    .pa-inline-field:not(.pa-inline-field-top) > label {
        padding-top: 0;
    }

    .pa-tabs {
        flex-direction: column;
        align-items: center;
    }

    .pa-tab {
        width: 100%;
        max-width: 360px;
    }

    .pa-bottom-inner {
        padding: 0 24px;
    }
}

@media (max-width: 576px) {
    .pa-brand-area {
        border-right: none;
        padding-right: 0;
    }

    .pa-page {
        padding-top: 24px;
    }

    .pa-row {
        grid-template-columns: 1fr;
    }

    .pa-card {
        padding: 24px 20px;
        min-height: 0;
    }

    .pa-card-topic-main {
        min-height: 0;
    }

    .pa-info-box {
        flex-wrap: wrap;
        align-items: flex-start;
        border-radius: 18px;
        padding: 12px 14px;
    }

    .pa-info-text {
        flex: 1 1 100%;
        order: 3;
    }

    .pa-submit {
        width: 100%;
        font-size: 19px;
    }

    .pa-bottom-bar {
        height: 68px;
    }
}
@media screen and (max-width: 1145px) {
    body:has(.pa-shell) .mobil-menu-box::after {
        display: none !important;
    }
}