@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins-Regular.ttf');
}

* {
    box-sizing: border-box;
}

body.payment-page {
    margin: 0;
    min-height: 100vh;
    font-family: Poppins, Arial, sans-serif;
    background:
        linear-gradient(135deg, rgba(3, 29, 68, .84), rgba(3, 29, 68, .94)),
        url('../img/odeme-bg.jpg') center/cover no-repeat;
    color: #0f2445;
}

.payment-shell {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
    padding: 24px 0 46px;
}

.payment-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    color: #fff;
}

.payment-brand img {
    max-width: 210px;
    height: auto;
}

.payment-trust {
    display: flex;
    gap: 26px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.payment-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
    padding: 42px;
}

.payment-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.payment-icon,
.section-title > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d75ff, #1046c7);
    color: #fff;
    font-size: 22px;
}

.payment-card-head h1,
.section-title h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0b2347;
}

.payment-card-head p,
.section-title p {
    margin: 6px 0 0;
    color: #60708b;
    font-size: 14px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e4eaf3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.payment-panel {
    padding: 34px 42px;
}

.payment-panel + .payment-panel {
    border-left: 1px solid #e4eaf3;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-right: 0;
    margin-left: 0;
}

.form-row-card {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #10284e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
}

.form-group label b {
    color: #e53935;
}

.form-control {
    width: 100%;
    height: 54px;
    border: 1px solid #dbe3ef !important;
    border-radius: 12px !important;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: #142b4f;
    outline: none;
    box-shadow: none !important;
    transition: .2s ease;
}

textarea.form-control {
    height: 164px;
    padding-top: 20px;
    resize: vertical;
}

.form-control:focus {
    border-color: #1d75ff !important;
    box-shadow: 0 0 0 4px rgba(29, 117, 255, .12) !important;
}

.input-with-icon {
    position: relative;
}

.input-with-icon span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #60708b;
    font-weight: 700;
}

.input-with-icon input {
    padding-left: 42px;
}

.card-preview {
    height: 200px;
    margin-bottom: 28px;
    perspective: 1000px;
}

.card-preview-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .65s ease;
    transform-style: preserve-3d;
}

.card-preview.is-flipped .card-preview-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    color: #fff;
    padding: 26px 28px;
    box-shadow: 0 18px 35px rgba(6, 29, 60, .28);
    backface-visibility: hidden;
    overflow: hidden;
}

.card-front {
    background: linear-gradient(135deg, #061d3c, #0b4b88);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-back {
    background: linear-gradient(135deg, #071a35, #083c70);
    transform: rotateY(180deg);
}

.card-preview-top,
.card-preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.card-preview-top span,
.card-preview-bottom span {
    font-size: 14px;
    color: rgba(255,255,255,.82);
}

.card-preview-top i {
    font-size: 22px;
    color: rgba(255,255,255,.86);
}

#kkno_card {
    display: block;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #fff;
}

#name_card {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.86);
    max-width: 65%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-preview-expiry {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
    color: rgba(255,255,255,.86);
}

.card-magnetic-line {
    height: 38px;
    background: rgba(0,0,0,.42);
    margin: 4px -28px 28px;
}

.card-cvv-row {
    background: rgba(255,255,255,.9);
    border-radius: 8px;
    height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.card-cvv-row span {
    color: #526173;
    font-size: 12px;
    font-weight: 700;
}

.card-cvv-row strong {
    color: #0b2347;
    font-size: 18px;
    letter-spacing: 3px;
}

.card-back-note {
    margin-top: 16px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    text-align: right;
}

.card-preview-expiry {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    min-width: 90px;
    text-align: right;
}
.card-preview-expiry #end_moth{
    padding-right:4px;
}
#kk_alert,
#tutar_alert {
    display: block;
    margin-top: 7px;
    color: #e53935;
    font-size: 12px;
}

.payment-footer {
    margin-top: 28px;
}

.security-notes {
    display: flex;
    gap: 26px;
    color: #40516d;
    font-size: 14px;
    margin-bottom: 18px;
}

#send_btn {
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2178ff, #123ec7);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

#send_btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(18, 62, 199, .28);
}

#send_btn:disabled {
    background: #c9d2df !important;
    cursor: not-allowed;
}

.modal-header-error {
    background: #e74c3c;
}

.modal-header-success {
    background: #27ae60;
}

.modal-title {
    color: #fff;
}
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgb(33, 81, 152);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    /* box-shadow: 0 10px 24px rgba(25, 98, 230, .28); */
}

.icon-box i {
    font-size: 24px;
}

.icon-box-big-light {
    width: 58px;
    height: 58px;
    background: none;
    color: rgb(33, 81, 152);
    box-shadow: none;
}
.icon-box-big-light i {
    font-size: 34px;
} 

.payment-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
    
}

.payment-brand img {
    width: 230px;
    height: auto;
    display: block;
}

.payment-trust {
    display: flex;
    align-items: center;
    gap: 26px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    font-size: 19px;
    color: #fff;
}

.trust-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.trust-text strong {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.2px;
}

.trust-text span {
    font-size: 13px;
    color: rgba(255,255,255,.62);
    font-weight: 400;
}

.bank-logos {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 4px;
    opacity: .92;
}

.bank-logos img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

.bank-logos img[src*="troy"] {
    height: 28px;
}

.bank-logos img[src*="master"] {
    height: 30px;
}
.bank-logos img[src*="visa"] {
    height: 20px;
}

.payment-info-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 34px;
    padding: 0 18px 10px;
    color: #fff;
}

.footer-trust-list {
    display: flex;
    align-items: center;
    gap: 58px;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-trust-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-trust-icon i {
    font-size: 25px;
    color: #fff;
}

.footer-trust-item strong,
.footer-secure-text strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.footer-trust-item span,
.footer-secure-text span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, .72);
    line-height: 1.35;
}

.footer-secure-text {
    text-align: right;
    min-width: 360px;
}

.footer-secure-text strong {
    font-size: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f7f9b;
    font-size: 18px;
    z-index: 2;
}

.input-with-icon .form-control {
    padding-left: 52px !important;
}
.input-icon-svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    object-fit: contain;
    z-index: 2;
    opacity: .72;
    color:#6f7f9b;
}
.textarea-icon i {
    top: 22px;
    transform: none;
}
.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b89a3;
    font-size: 14px;
    pointer-events: none;
}

.select-wrapper select.form-control {
    appearance: none;
    padding-right: 42px !important;
}
.payment-swal-popup {
    border-radius: 22px !important;
    padding: 28px 24px !important;
}

.payment-swal-button {
    border-radius: 12px !important;
    padding: 11px 28px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.footer-powered-by {
    align-items: center;
    gap: 12px;
}

.footer-w2go-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* intl-tel-input düzenleme */
.iti {
    width: 100%;
}

/* Açılan dropdown'u input genişliğine yaklaştır */
.iti__dropdown-content {
    width: 320px !important;
    font-size: 13px;
}

/* Arama alanı */
.iti__search-input {



    font-size: 12px !important;
    height: 38px !important;
    padding-left: 34px !important;
    padding-right: 10px !important;
}

.iti__selected-dial-code{font-size: 14px !important;}

/* Ülke satırları */
.iti__country {
    font-size: 12px !important;
    line-height: 1.25 !important;
    padding: 7px 10px !important;
}

/* Ülke adı + kod tek satır dursun */
.iti__country-name,
.iti__dial-code {
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* Bayrak/kod alanı input içinde daha derli toplu */
.iti__selected-country {
    padding-left: 10px !important;
    padding-right: 8px !important;
}

/* Telefon input yüksekliği siteyle uyumlu */
.iti input#telefon {
    height: 54px !important;
    font-size: 14px !important;
}


@media (max-width: 991px) {
    .payment-info-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-trust-list {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-secure-text {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .footer-trust-list {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 991px) {
    .payment-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-trust {
        flex-wrap: wrap;
        gap: 12px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-panel + .payment-panel {
        border-left: 0;
        border-top: 1px solid #e4eaf3;
    }
}

@media (max-width: 640px) {
    .payment-shell {
        width: min(100% - 22px, 1180px);
        padding: 18px 0 28px;
    }

    .payment-card {
        padding: 20px;
        border-radius: 20px;
    }

    .payment-panel {
        padding: 22px;
    }

    .form-row,
    .form-row-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .security-notes {
        flex-direction: column;
        gap: 8px;
    }

    .payment-card-head h1 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 22px;
    }
}