/* Tahsilat sayfası — T-HOS tema renkleri */
.subPage .contentInner .leftContent .thos-payment-wrap {
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.subPage .contentInner .leftContent .thos-payment-wrap h2 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 600;
    color: #262626;
    letter-spacing: -0.5px;
}

.subPage .contentInner .leftContent .thos-payment-product {
    background: #ebebeb;
    border-left: 4px solid #f7a600;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 500;
    color: #272727;
}

.subPage .contentInner .leftContent .thos-payment-note {
    color: #676767;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.subPage .contentInner .leftContent .thos-payment-form .form-group {
    margin-bottom: 18px;
}

.subPage .contentInner .leftContent .thos-payment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #181818;
    font-size: 14px;
    letter-spacing: -0.3px;
}

.subPage .contentInner .leftContent .thos-payment-form label .required {
    color: #f7a600;
}

.subPage .contentInner .leftContent .thos-payment-form input[type="text"],
.subPage .contentInner .leftContent .thos-payment-form input[type="email"],
.subPage .contentInner .leftContent .thos-payment-form input[type="number"],
.subPage .contentInner .leftContent .thos-payment-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    color: #303030;
    box-shadow: none;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.subPage .contentInner .leftContent .thos-payment-form textarea {
    min-height: 90px;
    resize: vertical;
}

.subPage .contentInner .leftContent .thos-payment-form input:focus,
.subPage .contentInner .leftContent .thos-payment-form textarea:focus {
    border-color: #272727;
    outline: none;
}

.subPage .contentInner .leftContent .thos-payment-form .form-row {
    display: flex;
    gap: 16px;
}

.subPage .contentInner .leftContent .thos-payment-form .form-row .form-group {
    flex: 1;
}

.subPage .contentInner .leftContent .thos-payment-submit {
    margin-top: 10px;
}

.subPage .contentInner .leftContent .thos-payment-submit button {
    background: #eca108;
    color: #000000;
    border: 1px solid transparent;
    padding: 13px 32px;
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}

.subPage .contentInner .leftContent .thos-payment-submit button:hover {
    background: transparent;
    border: 1px solid #272727;
    color: #272727;
}

.subPage .contentInner .leftContent .thos-payment-errors {
    background: #ebebeb;
    border: 1px solid #272727;
    color: #272727;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.subPage .contentInner .leftContent .thos-payment-errors ul {
    margin: 0;
    padding-left: 18px;
}

.subPage .contentInner .leftContent .thos-payment-summary {
    background: #ebebeb;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 4px;
    border-left: 4px solid #f7a600;
}

.subPage .contentInner .leftContent .thos-payment-summary dl {
    margin: 0;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 16px;
    font-size: 14px;
}

.subPage .contentInner .leftContent .thos-payment-summary dt {
    font-weight: 600;
    color: #272727;
}

.subPage .contentInner .leftContent .thos-payment-summary dd {
    margin: 0;
    color: #303030;
    font-weight: 500;
}

.subPage .contentInner .leftContent .thos-payment-amount-highlight {
    font-size: 24px;
    font-weight: 700;
    color: #272727;
}

.subPage .contentInner .leftContent .thos-payment-checkout {
    min-height: 400px;
}

.subPage .contentInner .leftContent .thos-payment-result {
    text-align: center;
    padding: 40px 20px;
}

.subPage .contentInner .leftContent .thos-payment-result.success .result-icon {
    color: #f7a600;
    font-size: 64px;
}

.subPage .contentInner .leftContent .thos-payment-result.failure .result-icon {
    color: #272727;
    font-size: 64px;
}

.subPage .contentInner .leftContent .thos-payment-result h3 {
    font-size: 24px;
    margin: 16px 0 8px;
    color: #262626;
    font-weight: 600;
}

.subPage .contentInner .leftContent .thos-payment-result p {
    color: #676767;
    font-size: 15px;
}

.subPage .contentInner .leftContent .thos-payment-back {
    display: inline-block;
    margin-top: 24px;
    color: #272727;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f7a600;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.subPage .contentInner .leftContent .thos-payment-back:hover {
    color: #f7a600;
}

.subPage .contentInner .leftContent .thos-sandbox-badge {
    display: inline-block;
    background: #272727;
    color: #f7a600;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .subPage .contentInner .leftContent .thos-payment-wrap {
        padding: 20px 16px;
    }

    .subPage .contentInner .leftContent .thos-payment-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .subPage .contentInner .leftContent .thos-payment-summary dl {
        grid-template-columns: 1fr;
    }

    .subPage .contentInner .leftContent .thos-payment-submit button {
        max-width: 100%;
    }
}

/* Ödeme popup */
body.thos-modal-open {
    overflow: hidden;
}

.thos-payment-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.thos-payment-modal.is-open {
    display: block;
}

.thos-payment-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(39, 39, 39, 0.75);
}

.thos-payment-modal-dialog {
    position: relative;
    z-index: 1;
    width: 94%;
    max-width: 720px;
    max-height: 92vh;
    margin: 4vh auto;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ebebeb;
    overflow-y: auto;
    padding: 24px 28px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.thos-payment-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: #ebebeb;
    color: #272727;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.thos-payment-modal-close:hover {
    background: #272727;
    color: #f7a600;
}

.thos-payment-modal-header h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    color: #262626;
}

.thos-payment-modal-subtitle {
    margin: 0 0 16px;
    color: #676767;
    font-size: 14px;
}

.thos-payment-modal .thos-payment-summary {
    margin-bottom: 16px;
}

.thos-payment-modal .thos-payment-summary dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 6px 12px;
    font-size: 13px;
}

.thos-payment-modal .thos-payment-amount-highlight {
    font-size: 20px;
}

.thos-payment-modal .thos-payment-checkout {
    min-height: 520px;
}

.thos-payment-iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    height: 600px;
    border: none;
    border-radius: 4px;
    background: #fff;
}

.subPage .contentInner .leftContent .thos-payment-iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    height: 600px;
    border: none;
    border-radius: 4px;
    background: #fff;
}

.thos-payment-submit button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .thos-payment-modal-dialog {
        width: 96%;
        margin: 2vh auto;
        padding: 20px 16px;
        max-height: 96vh;
    }

    .thos-payment-modal .thos-payment-summary dl {
        grid-template-columns: 1fr;
    }
}
