/* Shared payment styles. Original artwork and the approved layout are retained. */

/* Base */
a {
    text-decoration: none;
}
p {
    color: #fff;
    font-size: 14px;
}
.tab-pane {
    overflow: hidden;
}

/* Green buttons */
.btn-primary.gradient {
    border: 0;
    background: linear-gradient(to bottom, #8cc63f, #0dad4a);
}
.btn-primary.gradient:hover,
.btn-primary.gradient:focus,
.btn-primary.gradient:active {
    border: 0;
    background: linear-gradient(to bottom, #009245, #004537);
}

:root {
    --cib-green: #0dad4a;
    --cib-light-green: #8cc63f;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
    background: #fff;
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: none;
    padding-right: 15px;
    padding-left: 15px;
}
@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Game header */
.game-header {
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.game-header .row {
    margin-right: -15px;
    margin-left: -15px;
}
.game-header .logo {
    margin-top: 50px;
    padding: 0;
}
.game-logo {
    width: 40%;
    display: block;
    margin: 0 auto;
}

/* Reload layout and channel tabs */
.reload-content {
    background: linear-gradient(to bottom, #333, #000);
    padding: 0;
}
.reload-shell {
    margin-right: -15px;
    margin-left: -15px;
    padding-top: 20px;
}
.channel-types {
    margin: 0 37px 0 38px;
    flex-wrap: nowrap;
}
.type-button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 0;
    border-top: 3px solid var(--cib-green);
    border-bottom: 3px solid var(--cib-green);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0;
}
.type-button:hover {
    border-color: var(--cib-light-green);
}
.type-button img {
    width: 100%;
    display: block;
}
.type-button:focus-visible,
.channel-button:focus-visible {
    outline: 3px solid var(--cib-light-green);
    outline-offset: 2px;
}
.channel-groups {
    padding: 20px;
}
.channel-groups > section {
    padding: 0 15px;
}
.group-layout {
    display: flex;
    align-items: flex-start;
}
.channel-sidebar {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 5%;
}
.channel-list {
    gap: 5px;
}
.channel-list-title,
.channel-button {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: 0;
    border-radius: 2px;
    padding: 10px 15px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.channel-list-title {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
}
.channel-button {
    display: block;
    width: 100%;
    text-align: center;
}
.channel-button.active {
    background: rgba(0, 0, 0, 0.3);
}
.channel-button img {
    display: block;
    width: 100%;
    margin: auto;
}
.channel-content {
    width: 75%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 5%;
}
.channel-logo {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
}
.section-heading-spacer {
    border: 0;
    border-top: 1px solid #eee;
    opacity: 1;
    margin: 23px 0;
}

/* Denomination table */
.denomination-details {
    padding: 0 15px;
}
.denomination-table {
    margin: 0;
}
.channel-content .table {
    --bs-table-bg: transparent;
    --bs-table-color: #fff;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.5);
    --bs-table-striped-color: #fff;
    --bs-table-border-color: #ddd;
    color: #fff;
    font-size: 16px;
    line-height: 1.666;
    text-align: left;
    margin-bottom: 23px;
}
.channel-content .table > :not(caption) > * > * {
    padding: 8px;
    border: 0;
    border-top: 1px solid #ddd;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg, transparent);
}
.channel-content .table > thead > tr > th {
    border-top: 0;
    border-bottom: 1px solid #ddd;
    font-weight: 700;
}
.channel-content .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(0, 0, 0, 0.5);
}
.tax-notice {
    color: #fff800;
    font-size: 14px;
    line-height: 25.6px;
    margin: 0 0 10px;
    text-align: center;
}

/* Reload and invoice forms */
.reload-form {
    padding-top: 20px;
}
.reload-form > .text-center {
    padding: 0 15px;
}
.form-row {
    margin: 0 0 10px;
    padding: 0 10px;
    align-items: flex-start;
    --bs-gutter-x: 30px;
}
.form-row .col-form-label {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 5px;
    text-align: center;
}
.form-control,
.form-select {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.666;
    border: 1px solid #ccc;
    border-radius: 2px;
    height: 41px;
    min-height: 41px;
    padding: 8px 12px;
    color: #555;
    background-color: #fff;
}
.form-select {
    appearance: auto;
    background-image: none;
}
.form-control:focus,
.form-select:focus {
    border-color: #009688;
    box-shadow: none;
}
.form-control[readonly],
.form-select:disabled {
    background: #eee;
    color: #555;
}
.confirm-button {
    width: 50%;
    min-height: 39px;
    padding: 8px 15px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.666;
}
.confirm-button:disabled {
    opacity: 0.55;
}
.form-message {
    position: relative;
    color: #ffc7c7;
    white-space: pre-line;
    min-height: 30px;
    text-align: center;
    margin: 10px 0 0;
}
.form-message.success {
    color: #fff;
}
.einvoice-fields {
    border: 0;
    padding: 0;
    margin: 0;
}
.einvoice-fields .einvoice-id-type {
    flex: 0 0 auto;
    width: auto;
    color: #555;
}
.einvoice-fields a {
    color: #a7e086;
}
.payment-captcha {
    transform: scale(0.7);
    transform-origin: 0 0;
    min-height: 55px;
}

/* Wallets and dialogs */
.wallet-remarks {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
    align-items: center;
}
.wallet-remarks img {
    max-width: 110px;
    max-height: 65px;
    object-fit: contain;
}
.modal-content {
    margin-top: 10%;
    border: 0;
}
.modal {
    border: 0;
}
.modal-content,
.modal-body p {
    color: #333;
}
.modal-body {
    height: auto;
    padding: 5%;
    text-align: left;
    background: #fff;
}
.modal-header .modal-title {
    font-size: 18px;
}

/* Footer */
.payment-footer {
    padding: 30px 15px;
    text-align: center;
    background: #fff;
    color: #666;
}
.payment-footer p {
    color: #666;
    font-size: 12px;
    margin: 10px 0 0;
}
.footer-logo {
    max-width: 140px;
    height: auto;
}

/* Game index */
.game-selection {
    color: #666;
    min-height: 80vh;
}
.selection-brand {
    border-bottom: 1px solid #e7e7e7;
    margin: 0 -15px 20px;
}
.selection-brand img {
    display: block;
    margin: 0 auto;
}
.selection-heading {
    padding-bottom: 10px;
}
.selection-heading h1,
.selection-heading p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
    margin: 10px 0;
}
.selection-heading h1 {
    color: #090;
}
.selection-heading p {
    color: #666;
}
.game-tiles {
    --bs-gutter-x: 30px;
}
.game-tile {
    display: block;
    margin-bottom: 30px;
}
.game-tile img {
    display: block;
    margin: auto;
}
.game-tile:focus-visible {
    outline: 3px solid var(--cib-green);
}
.game-tile:hover {
    opacity: 0.9;
}

/* Status pages */
.message-page {
    padding: 80px 20px;
    min-height: 60vh;
    color: #333;
}
.message-page p {
    color: #333;
}
.message-page h1 {
    font-size: 28px;
}

/* Mobile */
@media (max-width: 767px) {
    .form-row > .col-sm-3,
    .form-row > .col-sm-9 {
        width: 100%;
        margin-left: 0;
    }
    .game-tiles > .col-sm-4 {
        width: 100%;
    }
    .type-button {
        padding: 0 15px;
        border: 0;
        background: transparent;
    }
    .channel-types {
        margin-bottom: 0;
    }
    .group-layout {
        display: block;
    }
    .channel-sidebar {
        width: 100%;
        margin-bottom: 5%;
    }
    .channel-content {
        width: 100%;
    }
    .channel-list {
        flex-direction: column !important;
    }
    .channel-button {
        width: 100%;
    }
    .channel-logo {
        width: 50%;
    }
    .channel-groups {
        padding: 20px;
    }
    .form-row .col-form-label {
        text-align: center;
    }
    .confirm-button {
        font-size: 10px;
        min-height: 0;
    }
    .wallet-remarks img {
        max-width: 95px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
