/* Plum x BookMyShow banner carousel - shared across dashboard + inside pages */
.plum-banner-wrap {
    max-width: 100%;
    margin: 0 auto;
}

/* Give the inside pages (Register/Claim/redeem/terms/help-desk) a wider content
   area and a bigger left column, so the banner reads clearly instead of looking
   like a small thumbnail next to a lot of empty background. */
.register-page-area > .container {
    max-width: 1300px;
}
@media (min-width: 992px) {
    .register-page-area .row.align-items-center > .col-lg-6:first-child {
        flex: 0 0 58%;
        max-width: 58%;
    }
    .register-page-area .row.align-items-center > .col-lg-6:last-child {
        flex: 0 0 42%;
        max-width: 42%;
    }
}
.plum-banner-carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    background-color: #2c0f4a;
}
.plum-banner-carousel .carousel-item img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}
.plum-banner-carousel .carousel-control-prev,
.plum-banner-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.9;
}
.plum-banner-carousel .carousel-control-prev { left: 12px; }
.plum-banner-carousel .carousel-control-next { right: 12px; }
.plum-banner-carousel .carousel-control-prev-icon,
.plum-banner-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
}
.plum-banner-carousel .carousel-indicators {
    position: static;
    margin: 10px 0 0 0;
}
.plum-banner-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #b489e0;
    opacity: 1;
    border: none;
}
.plum-banner-carousel .carousel-indicators .active {
    background-color: #ffffff;
}

/* !important + extra specificity: the legacy template has several hardcoded
   ".left-image img { width: 400px/320px/230px }" rules at various breakpoints
   (assets/css/responsive.css) which otherwise beat a plain class on the img. */
.left-image .plum-banner-wrap img.plum-banner-single {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Terms & Help Desk: force white text instead of black, since these pages sit on the purple background */
.plum-white-text.text-black,
.plum-white-text .text-black {
    color: #ffffff !important;
}

/* Dashboard hero: center banner + leave clear room above the fixed bottom dock */
.home-area {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 150px;
}
.home-area .plum-banner-wrap {
    width: 100%;
    margin: 0;
}

@media (max-width: 576px) {
    .plum-banner-wrap {
        max-width: 100%;
        padding: 0 16px;
    }
    .plum-banner-carousel {
        border-radius: 10px;
    }
    .plum-banner-carousel .carousel-control-prev,
    .plum-banner-carousel .carousel-control-next {
        width: 32px;
        height: 32px;
    }
    .plum-banner-carousel .carousel-control-prev-icon,
    .plum-banner-carousel .carousel-control-next-icon {
        width: 14px;
        height: 14px;
        background-size: 14px 14px;
    }
}
