﻿ 
.payment-title {
    width: 100%;
    text-align: center;
}

.form-container .field-container:first-of-type {
    grid-area: name;
}

.form-container .field-container:nth-of-type(2) {
    grid-area: number;
}

.form-container .field-container:nth-of-type(3) {
    grid-area: expiration;
}

.form-container .field-container:nth-of-type(4) {
    grid-area: security;
}

.field-container input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.field-container {
    position: relative;
}

.form-container {
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: auto auto;
    grid-template-rows: 90px 90px 90px;
    grid-template-areas: "name name""number number""expiration security";
    max-width: 100%;
    padding: 20px;
    color: #707070;
}
 

.ccicon {
    height: 38px;
    position: absolute;
    right: 6px;
    top: calc(50% - 17px);
    width: 60px;
}

/* CREDIT CARD IMAGE STYLING */
.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

 

#ccsingle {
    position: absolute;
    right: 15px;
    top: 20px;
}

#ccsingle svg {
    width: 100px;
    max-height: 60px;
}

.creditcard svg#cardfront,
.creditcard svg#cardback {
    width: 100%;
    -webkit-box-shadow: 1px 5px 6px 0px black;
    box-shadow: 1px 5px 6px 0px black;
    border-radius: 22px;
}

#generatecard{
    cursor: pointer;
    float: right;
    font-size: 12px;
    color: #fff;
    padding: 2px 4px;
    background-color: #909090;
    border-radius: 4px;
    cursor: pointer;
    float:right;
}

/* CHANGEABLE CARD ELEMENTS */
.creditcard .lightcolor,
.creditcard .darkcolor {
    -webkit-transition: fill .5s;
    transition: fill .5s;
}

.creditcard .lightblue {
    fill: #03A9F4;
}

.creditcard .lightbluedark {
    fill: #0288D1;
}

.creditcard .red {
    fill: #ef5350;
}

.creditcard .reddark {
    fill: #d32f2f;
}

.creditcard .purple {
    fill: #ab47bc;
}

.creditcard .purpledark {
    fill: #7b1fa2;
}

.creditcard .cyan {
    fill: #26c6da;
}

.creditcard .cyandark {
    fill: #0097a7;
}

.creditcard .green {
    fill: #66bb6a;
}

.creditcard .greendark {
    fill: #388e3c;
}

.creditcard .lime {
    fill: #d4e157;
}

.creditcard .limedark {
    fill: #afb42b;
}

.creditcard .yellow {
    fill: #ffeb3b;
}

.creditcard .yellowdark {
    fill: #f9a825;
}

.creditcard .orange {
    fill: #ff9800;
}

.creditcard .orangedark {
    fill: #ef6c00;
}

.creditcard .grey {
    fill: #bdbdbd;
    opacity: 0.6;
}

.creditcard .greydark {
    fill: #616161;
    opacity:0;
}
.creditcard .greydarks {
    fill: #616161;
}

/* FRONT OF CARD */
#svgname {
    text-transform: uppercase;
}

#cardfront .st2 {
    fill: #FFFFFF;
}

#cardfront .st3 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
}

#cardfront .st4 {
    font-size: 54.7817px;
}

#cardfront .st5 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

#cardfront .st6 {
    font-size: 33.1112px;
}

#cardfront .st7 {
    opacity: 0.6;
    fill: #FFFFFF;
}

#cardfront .st8 {
    font-size: 24px;
}

#cardfront .st9 {
    font-size: 36.5498px;
}

#cardfront .st10 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 300;
}

#cardfront .st11 {
    font-size: 16.1716px;
}

#cardfront .st12 {
    fill: #4C4C4C;
}

/* BACK OF CARD */
#cardback .st0 {
    fill: none;
    stroke: #0F0F0F;
    stroke-miterlimit: 10;
}

#cardback .st2 {
    fill: #111111;
}

#cardback .st3 {
    fill: #F2F2F2;
}

#cardback .st4 {
    fill: #D8D2DB;
}

#cardback .st5 {
    fill: #C4C4C4;
}

#cardback .st6 {
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

#cardback .st7 {
    font-size: 27px;
}

#cardback .st8 {
    opacity: 0.6;
}

#cardback .st9 {
    fill: #FFFFFF;
}

#cardback .st10 {
    font-size: 24px;
}

#cardback .st11 {
    fill: #EAEAEA;
}

#cardback .st12 {
    font-family: 'Rock Salt', cursive;
}

#cardback .st13 {
    font-size: 37.769px;
}

/* FLIP ANIMATION */
.container {
    
}

.creditcard {
    width: 100%;
    max-width: 400px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    cursor: pointer;
}

.creditcard .front,
.creditcard .back {
    position: absolute;
    width: 100%;
    max-width: 400px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    color: #47525d;
}

    .creditcard .front {
        /* Grseli arka plana ekler */
        background: url('/images/kart_bg.jpeg') center center / cover no-repeat;
        border-radius: 20px; /* Kartn kesiyle uyumlu yapar */
        /* Kart daha net gstermek iin istee bal padding veya shadow ekleyebilirsiniz */
    }

.creditcard .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.creditcard.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

/* Sepet kartbilgileri mock */
/* /sepet?asama=kartbilgileri: mobilde ust beyaz header satirini gizle */
@media (max-width: 991.98px) {
    #header1 .header_table .rows > .header_cell:nth-child(1),
    #header1 .header_table .rows > .header_cell:nth-child(3) {
        display: none !important;
    }
}

/* Site genelinde .row { display: table-row } (StyleSheet.css) Bootstrap .row (flex) ile cakisir; mobilde sag sutun/buton kaybolabiliyor */
.kk-odeme-sayfa .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
@media (max-width: 991.98px) {
    .kk-odeme-kutu .container-fluid .row.align-items-start {
        flex-direction: column !important;
    }
    .kk-odeme-kutu .kredi_karti_onizleme_cell,
    .kk-odeme-kutu .kart-odeme-modern {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    /* Alt sabit bar / güvenli alan ile çakışmayı azaltır */
    .kk-odeme-sayfa {
        padding-bottom: max(5rem, env(safe-area-inset-bottom, 0px)) !important;
    }
    .kk-pay-mobil-fallback {
        position: relative;
        z-index: 2;
    }
}
.kk-odeme-buyuk-btn[disabled],
.kk-odeme-buyuk-btn.disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
.kk-odeme-kutu {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 40px rgba(27, 77, 62, 0.08) !important;
    border: 4px solid #035634 !important;
}
.kk-odeme-baslik-yesil { color: #1B4D3E !important; }
.kk-odeme-baslik-altin { color: #c9a227 !important; }

.kk-odeme-baslik-cizgi {
    border-bottom: 1px solid #e8ece9 !important;
}

.kart-odeme-modern {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    max-width: 520px;
    width: 100%;
    box-sizing: border-box;
}
.kk-pay-mobil-border {
    border-top-color: rgba(27, 77, 62, 0.12) !important;
}

.kk-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d3436;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem 0;
}

.kk-odeme-alt-baslik {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.01em;
    margin-top: -0.1rem;
}
.kk-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.4rem;
}
.kk-pill-input {
    width: 100%;
    border: none !important;
    background: #f5f7f6 !important;
    border-radius: 999px !important;
    padding: 0.9rem 1.2rem !important;
    font-size: 0.95rem !important;
    color: #1f2937 !important;
    box-shadow: none !important;
    transition: background 0.15s, box-shadow 0.15s;
}
.kk-pill-input::placeholder {
    color: #9ca3af;
}
.kk-pill-input:focus {
    outline: none !important;
    background: #eef1f0 !important;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.15) !important;
}
.kk-pill-wrap .kk-pill-input {
    padding-right: 4.5rem !important;
}
.kk-pill-cvc {
    max-width: 100%;
    min-width: 0;
}
.kk-expiry-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0.3rem;
}
.kk-expiry-row > [class*="col"] {
    min-width: 0;
}
/* CVC dar kolonda ta?mas?n */
.kk-expiry-row .kk-pill-cvc {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
}
.kk-pill-select {
    width: 100%;
    border: none !important;
    background: #f5f7f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
    background-color: #f5f7f6 !important;
    border-radius: 999px !important;
    padding: 0.85rem 2.25rem 0.85rem 1.1rem !important;
    font-size: 0.92rem !important;
    color: #1f2937 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.kk-pill-select:focus {
    outline: none !important;
    background-color: #eef1f0 !important;
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.15) !important;
}
.kk-ccicon {
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
}
.kk-exp-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.kart-odeme-modern .kk-field {
    position: relative;
}

/* Kart odeme — sayfa gorunumu */
.kk-odeme-sayfa {
    background: #f5f7f6;
    min-height: 50vh;
    padding-top: 0.75rem;
    padding-bottom: 2rem;
}
.kk-odeme-ana-kart.kk-odeme-kutu {
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(17, 24, 39, 0.07) !important;
}
.kk-rozet-img {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}
.kk-rozet-img.kk-rozet-ssl {
    max-height: 44px;
}
.kk-tutar-mock-satir {
    font-size: 0.95rem;
    line-height: 1.65;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: 0.35rem;
    row-gap: 0.25rem;
}
.kk-tutar-mock-satir .kk-kart-tutar-etiket {
    color: #374151 !important;
    font-weight: 500;
}
.kk-kart-tutar-rakam {
    color: #dc2626 !important;
    font-size: 1.45rem;
    font-weight: 700 !important;
    margin-left: 0.15rem;
}
.kk-kart-para-birim {
    color: #dc2626 !important;
    font-weight: 700;
}
.kk-odeme-buyuk-btn {
    border-radius: 18px !important;
    padding: 1rem 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    font-size: 0.9rem !important;
    border: none !important;
    background: #1b4d3e !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(27, 77, 62, 0.28);
    text-transform: uppercase;
}
.kk-odeme-buyuk-btn:hover {
    filter: brightness(1.06);
    color: #fff !important;
    background: #164232 !important;
}
.kk-geri-footer {
    color: #1b4d3e !important;
}
.kk-geri-footer:hover {
    color: #14362c !important;
}
.kredi_karti_onizleme_cell {
    text-align: center;
}

/* Sag kolon — kart ustte; rozetler kartın ALTINDA (negatif margin yok) */
.kk-sag-pay-wrap {
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    gap: 0;
}
.kk-kart-ust-slot {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 1rem;
    overflow: visible;
    z-index: 0;
}
.kk-preload-sag {
    box-sizing: border-box;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.kk-preload-sag .creditcard.kk-creditcard-saga {
    /* front/back absolute oldugu icin kutu yuksekligi yok; min-height kisa kalinca SVG asagi tasiyor */
    position: relative;
    min-height: unset;
    aspect-ratio: 750 / 471;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.kk-creditcard-saga {
    display: block;
}
.kk-rozet-satir {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 1.25rem !important;
    margin-bottom: 1rem !important;
    padding-top: 0;
    background: transparent;
}
.kk-pay-alt-slot {
    position: relative;
    width: 100%;
    padding-top: 0.5rem;
    margin-top: 0;
    z-index: 1;
}
.kk-pay-alt-slot .kk-odeme-buyuk-btn {
    display: block;
    width: 100% !important;
    flex: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
