
/* IAPROCHE payment logos fix */
.gateway img.payment-image-awdpay,
.gateway img.payment-image-wallet,
.gateway img.payment-image-stripe {
    max-width: 135px !important;
    width: 135px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
}

.gateway {
    min-height: 110px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gateway img {
    object-fit: contain !important;
}

/* IAPROCHE AWDpay method grid like Ticketzen */
.awdpay-method-wrapper {
    width: 100%;
}

.awdpay-country-select {
    height: 54px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.awdpay-method-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.awdpay-method-card {
    border: 1.5px solid #d7deea;
    border-radius: 14px;
    min-height: 132px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all .15s ease;
    padding: 14px;
}

.awdpay-method-card.active,
.awdpay-method-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 1px #0d6efd;
    background: #f8fbff;
}

.awdpay-method-card input {
    display: none;
}

.awdpay-method-card img {
    width: 110px !important;
    max-width: 110px !important;
    height: 52px !important;
    object-fit: contain !important;
    margin-bottom: 12px !important;
}

.awdpay-method-card span {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

@media (max-width: 768px) {
    .awdpay-method-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* AWDpay methods real logos */
.awdpay-method-wrapper {
    width: 100%;
}

.awdpay-country-select {
    height: 54px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.awdpay-method-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.awdpay-method-card {
    border: 1.5px solid #d7deea;
    border-radius: 14px;
    min-height: 138px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: all .15s ease;
    padding: 14px;
}

.awdpay-method-card.active,
.awdpay-method-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 1px #0d6efd;
    background: #f8fbff;
}

.awdpay-method-card input {
    display: none;
}

.awdpay-method-card img {
    width: 120px !important;
    max-width: 120px !important;
    height: 60px !important;
    object-fit: contain !important;
    margin-bottom: 12px !important;
}

.awdpay-method-card span {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

@media (max-width: 768px) {
    .awdpay-method-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* IAPROCHE AUDIT FIX - frontend header and hero */
#navbar-responsive {
    position: relative;
    z-index: 1000;
    min-height: 78px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

#navbar-responsive .navbar-brand {
    display: flex;
    align-items: center;
    max-width: 210px;
}

#navbar-responsive #brand-img {
    max-height: 54px !important;
    max-width: 190px !important;
    width: auto !important;
    object-fit: contain !important;
}

#navbar-responsive .nav-link {
    color: #111827 !important;
    font-weight: 700;
    white-space: nowrap;
}

#navbar-responsive #login-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#main {
    position: relative;
    overflow: hidden;
}

#main-background {
    padding-top: 105px;
}

#main .text-container h1,
#main .text-container h2,
#main .ah-headline,
#main .ah-words-wrapper,
#main .ah-words-wrapper b {
    overflow: visible !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
}

#main .text-container h1 {
    word-break: normal;
    overflow-wrap: anywhere;
}

#main .word-container {
    min-height: 76px;
}

#main .customer-avatars img.small-avatar {
    object-fit: cover !important;
    background: #f3f4f6;
}

@media (max-width: 991px) {
    #navbar-responsive {
        padding: 10px 14px;
        border-radius: 0;
    }

    #navbar-responsive .navbar-collapse {
        background: #ffffff;
        padding: 16px;
        margin-top: 12px;
        border-radius: 16px;
        box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    }

    #navbar-responsive #brand-img {
        max-height: 46px !important;
        max-width: 160px !important;
    }

    #main-background {
        padding-top: 115px;
    }

    #main .word-container {
        min-height: 105px;
    }
}

@media (max-width: 576px) {
    #main-background {
        padding-top: 125px;
    }

    #main .text-container h1 {
        font-size: 34px !important;
    }

    #main .text-container h2 {
        font-size: 28px !important;
    }
}
/* END IAPROCHE AUDIT FIX */
