/* =====================================================================
   BAKİYE YÜKLE  &  İLAN VER SAYFALARI
   Mevcut HTML yapısı korunarak yeniden tasarlandı.
   ===================================================================== */

/* =====================================================================
   1) BAKİYE YÜKLE  (section.pay-balance)
   ===================================================================== */
section.pay-balance {
    padding: 26px 0 48px 0;
}

section.pay-balance .inner-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------- Üst bakiye şeridi -> kart ---------- */
section.pay-balance .alert-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(160deg, rgba(24, 20, 14, .97), rgba(11, 11, 9, .99)) !important;
    border: 1px solid rgba(217, 170, 74, .32) !important;
    border-radius: 14px !important;
    color: #d6d6d6 !important;
    font-size: 14.5px;
    font-weight: 500;
    padding: 16px 20px !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

section.pay-balance .alert-info:before {
    content: "\f555";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: #f2c45e;
}

/* ---------- Sol sekme menüsü ---------- */
section.pay-balance .row.g-0 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 0;
}

section.pay-balance .row.g-0>.col-xl-2 {
    flex: 0 0 260px;
    max-width: 260px;
    width: 260px;
    padding: 0;
}

section.pay-balance .row.g-0>.col-xl-10 {
    flex: 1;
    min-width: 0;
    padding: 0;
}

section.pay-balance ul.change-method {
    background: linear-gradient(165deg, rgba(22, 20, 14, .97), rgba(11, 11, 9, .99));
    border: 1px solid rgba(217, 170, 74, .26);
    border-radius: 14px;
    overflow: hidden;
    margin: 0;
    padding: 8px;
}

section.pay-balance ul.change-method li {
    list-style: none;
}

section.pay-balance ul.change-method li a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: auto !important;
    padding: 12px 13px !important;
    margin: 0 0 4px 0;
    border-radius: 10px;
    background: transparent !important;
    color: #c6c6c6 !important;
    font-size: 13.5px;
    font-weight: 600;
    text-align: left !important;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

section.pay-balance ul.change-method li a img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
    flex: 0 0 30px;
    margin: 0 !important;
    filter: saturate(.85);
}

section.pay-balance ul.change-method li a span {
    flex: 1;
    line-height: 1.35;
    font-size: 13.5px;
}

section.pay-balance ul.change-method li a span small {
    display: block;
    font-size: 11.5px !important;
    color: #8a8a8a;
    font-weight: 500;
}

section.pay-balance ul.change-method li a:hover {
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
    border-color: rgba(217, 170, 74, .3);
}

section.pay-balance ul.change-method li a.active {
    background: linear-gradient(90deg, rgba(217, 170, 74, .2), rgba(217, 170, 74, .05)) !important;
    border-color: rgba(217, 170, 74, .55);
    color: #f2c45e !important;
}

section.pay-balance ul.change-method li a.active img {
    filter: none;
}

/* ---------- Sağ içerik ---------- */
section.pay-balance .balance-tab {
    overflow: visible !important;
    background: linear-gradient(160deg, rgba(20, 20, 14, .96), rgba(10, 10, 9, .98));
    border: 1px solid rgba(217, 170, 74, .25);
    border-radius: 14px;
    padding: 26px;
    min-height: 420px;
}

section.pay-balance .balance-tab .tab-container {
    overflow: visible;
}

section.pay-balance .balance-tab h1,
section.pay-balance .balance-tab h2,
section.pay-balance .balance-tab h3,
section.pay-balance .balance-tab h4,
section.pay-balance .balance-tab h5 {
    color: #fff;
    font-weight: 700;
}

section.pay-balance .balance-tab h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

section.pay-balance .balance-tab ol,
section.pay-balance .balance-tab ul {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.9;
}

/* ---------- Form alanları ---------- */
section.pay-balance label,
section.pay-balance .form-label {
    display: block;
    color: #b6b6b6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

section.pay-balance input[type="text"],
section.pay-balance input[type="number"],
section.pay-balance input[type="email"],
section.pay-balance select,
section.pay-balance textarea,
section.pay-balance .form-control {
    width: 100%;
    background: #0c0c0a !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 9px !important;
    color: #eaeaea !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    height: auto !important;
    box-shadow: none !important;
}

section.pay-balance input:focus,
section.pay-balance select:focus,
section.pay-balance textarea:focus,
section.pay-balance .form-control:focus {
    border-color: rgba(217, 170, 74, .7) !important;
    outline: none !important;
}

section.pay-balance input::placeholder {
    color: #6b6b6b;
}

section.pay-balance .btn,
section.pay-balance button[type="submit"],
section.pay-balance button:not([class]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    padding: 12px 24px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(255, 215, 110, .7) !important;
    background: linear-gradient(180deg, #f4c660, #d99a2b 55%, #a96712) !important;
    color: #080604 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: filter .15s ease;
}

section.pay-balance .btn:hover,
section.pay-balance button[type="submit"]:hover {
    filter: brightness(1.08);
}

section.pay-balance .btn-secondary,
section.pay-balance .btn-dark {
    background: rgba(255, 255, 255, .06) !important;
    border-color: rgba(255, 255, 255, .14) !important;
    color: #d5d5d5 !important;
}

/* Banka hesapları / bilgi kutuları */
section.pay-balance .card,
section.pay-balance .bank-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
}

@media (max-width: 991.98px) {
    section.pay-balance .row.g-0 {
        flex-direction: column;
    }

    section.pay-balance .row.g-0>.col-xl-2 {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    section.pay-balance ul.change-method {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    section.pay-balance ul.change-method li {
        flex: 1 1 45%;
    }

    section.pay-balance .balance-tab {
        padding: 18px;
    }
}


/* =====================================================================
   2) İLAN VER / İLAN DÜZENLE  (section.games .form-container)
   ===================================================================== */
section.games .form-container {
    background: linear-gradient(160deg, rgba(20, 20, 14, .96), rgba(10, 10, 9, .98)) !important;
    border: 1px solid rgba(217, 170, 74, .25) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

section.games .form-container h4 {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

section.games .form-container h4+.form-label {
    margin-top: 18px;
}

section.games .form-container .form-label {
    display: block;
    color: #b6b6b6 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 16px 0 6px 0 !important;
}

section.games .form-container input[type="text"],
section.games .form-container input[type="number"],
section.games .form-container input[type="email"],
section.games .form-container select,
section.games .form-container textarea,
section.games .form-container .form-control {
    width: 100%;
    background: #0c0c0a !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 9px !important;
    color: #eaeaea !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    height: auto !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

section.games .form-container input:focus,
section.games .form-container select:focus,
section.games .form-container textarea:focus {
    border-color: rgba(217, 170, 74, .7) !important;
    outline: none !important;
}

section.games .form-container input::placeholder {
    color: #6b6b6b;
}

section.games .form-container select {
    cursor: pointer;
}

section.games .form-container select option {
    background: #101010;
    color: #eaeaea;
}

/* Salt okunur alan (hesabınıza geçecek tutar) */
section.games .form-container input[readonly] {
    background: #141412 !important;
    color: #f2c45e !important;
    font-weight: 700;
    cursor: not-allowed;
}

/* Dosya seçici */
section.games .form-container input[type="file"] {
    width: 100%;
    background: #0c0c0a !important;
    border: 1px dashed rgba(217, 170, 74, .4) !important;
    border-radius: 9px !important;
    color: #b6b6b6 !important;
    font-size: 13.5px !important;
    padding: 12px 14px !important;
    cursor: pointer;
}

section.games .form-container input[type="file"]::file-selector-button {
    background: rgba(217, 170, 74, .15);
    border: 1px solid rgba(217, 170, 74, .45);
    color: #f2c45e;
    border-radius: 7px;
    padding: 7px 14px;
    margin-right: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

section.games .form-container input[type="file"]::file-selector-button:hover {
    background: #d9aa4a;
    color: #12100a;
}

/* CKEditor kutusu siteyle uyumlu çerçeve içinde dursun */
section.games .form-container .cke,
section.games .form-container .cke_chrome {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 9px !important;
    overflow: hidden;
    box-shadow: none !important;
}

/* Sürükle-bırak alanı */
section.games .form-container #dropzone_div,
section.games .form-container .dropzone {
    background: #0c0c0a !important;
    border: 2px dashed rgba(217, 170, 74, .4) !important;
    border-radius: 12px !important;
    min-height: 150px !important;
    padding: 22px !important;
    color: #9a9a9a;
    transition: border-color .15s ease, background .15s ease;
}

section.games .form-container #dropzone_div:hover,
section.games .form-container .dropzone:hover {
    border-color: rgba(242, 196, 94, .8) !important;
    background: #101010 !important;
}

section.games .form-container .dz-message {
    color: #9a9a9a !important;
    font-size: 14px;
}

/* Gönder butonu */
section.games .form-container .ip-button-primary,
section.games .form-container button[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    height: auto !important;
    margin-top: 22px !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 215, 110, .7) !important;
    background: linear-gradient(180deg, #f4c660, #d99a2b 55%, #a96712) !important;
    color: #080604 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    cursor: pointer;
    transition: filter .15s ease, transform .12s ease;
}

section.games .form-container .ip-button-primary:hover,
section.games .form-container button[type="submit"]:hover {
    filter: brightness(1.08);
    color: #080604 !important;
}

section.games .form-container .ip-button-primary:active {
    transform: translateY(1px);
}

/* Yardım metinleri */
section.games .form-container small,
section.games .form-container .text-muted {
    display: block;
    color: #8a8a8a !important;
    font-size: 12px;
    margin-top: 5px;
}

/* Sayfayı ortala ve genişliğini sınırla */
section.games .col-xl-6.offset-xl-4 {
    margin: 0 auto !important;
    float: none !important;
    max-width: 760px;
    width: 100%;
    padding: 26px 15px 48px 15px;
}

@media (max-width: 575.98px) {
    section.games .form-container {
        padding: 18px !important;
    }
}

/* =====================================================================
   3) ŞİFRE SIFIRLAMA / AKTİVASYON / DOĞRULAMA SAYFALARI
   (body.authorization-bg + .loginPageArea)
   ===================================================================== */
body.authorization-bg {
    background: radial-gradient(circle at 20% 0%, #1a1409 0%, #0a0a08 45%, #050505 100%) !important;
    color: #d6d6d6;
}

body.authorization-bg #logo img {
    max-width: 190px;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5));
}

body.authorization-bg #logo {
    margin-bottom: 4px;
}

/* Kart */
body.authorization-bg .loginPageArea {
    background: linear-gradient(160deg, rgba(22, 20, 14, .97), rgba(11, 11, 9, .99)) !important;
    border: 1px solid rgba(217, 170, 74, .3);
    border-radius: 16px !important;
    padding: 30px 28px !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .6) !important;
    max-width: 460px;
    margin: 0 auto;
}

body.authorization-bg .loginPageArea h3,
body.authorization-bg .loginPageArea h4 {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 6px 0;
    text-align: center;
}

/* Açıklama metni */
body.authorization-bg .loginPageArea .alert.small,
body.authorization-bg .loginPageArea .text-muted {
    background: transparent !important;
    border: none !important;
    color: #9a9a9a !important;
    font-size: 13.5px !important;
    text-align: center;
    padding: 0 0 18px 0 !important;
    margin: 0 !important;
    line-height: 1.6;
}

/* Uyarı kutuları */
body.authorization-bg .loginPageArea .alert-success {
    background: rgba(40, 167, 69, .12) !important;
    border: 1px solid rgba(40, 167, 69, .4) !important;
    color: #7ee2a0 !important;
    border-radius: 10px !important;
    font-size: 13.5px;
    padding: 12px 15px !important;
    text-align: left;
}

body.authorization-bg .loginPageArea .alert-danger {
    background: rgba(220, 53, 69, .12) !important;
    border: 1px solid rgba(220, 53, 69, .4) !important;
    color: #ff9d95 !important;
    border-radius: 10px !important;
    font-size: 13.5px;
    padding: 12px 15px !important;
    text-align: left;
}

/* Alanlar */
body.authorization-bg .loginPageArea label,
body.authorization-bg .loginPageArea .form-label {
    display: block;
    color: #b6b6b6;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: left;
}

body.authorization-bg .loginPageArea .form-group {
    margin-bottom: 16px;
}

body.authorization-bg .loginPageArea input[type="text"],
body.authorization-bg .loginPageArea input[type="email"],
body.authorization-bg .loginPageArea input[type="password"],
body.authorization-bg .loginPageArea input[type="number"],
body.authorization-bg .loginPageArea .form-control,
body.authorization-bg .loginPageArea .form-control-lg {
    width: 100%;
    background: #0c0c0a !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px !important;
    color: #eaeaea !important;
    font-size: 15px !important;
    padding: 13px 15px !important;
    height: auto !important;
    box-shadow: none !important;
    text-align: left;
}

body.authorization-bg .loginPageArea input:focus,
body.authorization-bg .loginPageArea .form-control:focus {
    border-color: rgba(217, 170, 74, .75) !important;
    background: #101010 !important;
    outline: none !important;
}

body.authorization-bg .loginPageArea input::placeholder {
    color: #6b6b6b;
}

/* Buton: tam genişlik */
body.authorization-bg .loginPageArea .row>.col-12.text-right {
    text-align: center !important;
}

body.authorization-bg .loginPageArea .btn,
body.authorization-bg .loginPageArea button[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 22px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 215, 110, .7) !important;
    background: linear-gradient(180deg, #f4c660, #d99a2b 55%, #a96712) !important;
    color: #080604 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    text-transform: none !important;
    cursor: pointer;
    transition: filter .15s ease;
}

body.authorization-bg .loginPageArea .btn:hover,
body.authorization-bg .loginPageArea button[type="submit"]:hover {
    filter: brightness(1.08);
    color: #080604 !important;
}

/* Alt bağlantılar */
body.authorization-bg .loginPageArea a:not(.btn) {
    color: #f2c45e;
    font-size: 13.5px;
    text-decoration: none;
}

body.authorization-bg .loginPageArea a:not(.btn):hover {
    text-decoration: underline;
}

/* Yükleniyor animasyonu */
body.authorization-bg .spinner-border {
    color: #d9aa4a !important;
}

@media (max-width: 575.98px) {
    body.authorization-bg .loginPageArea {
        padding: 22px 18px !important;
    }

    body.authorization-bg #logo img {
        max-width: 150px;
    }
}