.scroll-down {
    opacity: 1;
    -webkit-transition: all 0.5s ease-in 3s;
    transition: all 0.5s ease-in 3s;
}

.scroll-down {
    /* position: absolute; */
    bottom: 25px;
    left: 45%;
    margin-left: -16px;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    transform: scale(1);
}

@keyframes bounce {
    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

.item-custom {
    min-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.item-custom .footer-btn {
    display: block;
    margin-top: auto;
}

.body-qr {
    display: flex;
    flex-wrap: wrap;
}
.body-qr .item-left {
    flex: 40%;
    background: linear-gradient(134deg, #04a468 0%, #0d788c 100%);
    border-radius: 10px;
    padding: 15px;
}
.body-qr .item-left p {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    border-bottom: 1px dotted #fff;
}
.body-qr .item-left p span {
    font-weight: 700;
    font-size: 17px;
    margin-left: 10px;
}
.body-qr .item-left p:first-child span {
    margin-left: unset;
}
.body-qr .item-left p:last-child {
    border-bottom: unset;
}
.body-qr .item-left p a {
    color: #ffbc0e;
    font-weight: 700;
}
.body-qr .item-left h3 {
    font-size: 20px;
    color: #fff;
    text-align: center;
    font-weight: 700;
}
.body-qr .item-right {
    flex: 60%;
    padding: 30px;
}
.body-qr .item-right h3 {
    font-size: 20px;
    color: #111036;
    text-align: center;
    font-weight: 700;
}
.body-qr .item-right p {
    font-size: 15px;
    margin: 10px 0 5px 0;
    color: #04a468;
    font-weight: 500;
}
.body-qr .item-right p span {
    font-weight: 700;
    font-size: 17px;
}
.body-qr .item-right .img-item img {
    border-radius: unset;
    position: relative;
    width: 100%;
    background-color: unset;
}
@media (max-width: 992px) {
    .body-qr .item-left,
    .body-qr .item-right {
        flex: 100%;
        padding: 0;
    }
    .body-qr .item-left p,
    .body-qr .item-right p {
        font-size: 12px;
    }
    .body-qr .item-left p span,
    .body-qr .item-right p span {
        font-size: 14px;
    }
    .body-qr .item-left p.content-sub,
    .body-qr .item-right p.content-sub {
        font-size: 10px;
    }
    .body-qr .item-left h3,
    .body-qr .item-right h3 {
        font-size: 17px;
    }
    .body-qr .item-left .img-item,
    .body-qr .item-right .img-item {
        text-align: center;
    }
    .body-qr .item-left .img-item img,
    .body-qr .item-right .img-item img {
        width: 60%;
    }
    .body-qr .item-right {
        padding-top: 20px;
    }
    .body-qr .item-left {
        padding: 5px;
    }
    .body-qr .item-left p {
        padding: 5px;
    }
}

.selectpackage {
    cursor: pointer;
    border: 1px solid black;
    background: #fff;
    margin-bottom: 30px;
    transition: 0.5s;
    border-radius: 0.55rem;
    position: relative;
    width: 100%;
}

.item.item-circle {
    border-radius: 50%;
    border: 2px solid black;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    transition: opacity 0.25s ease-out, -webkit-transform 0.25s ease-out;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out,
        -webkit-transform 0.25s ease-out;
}

.selectpackage:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.custom-control-success .custom-control-label::before {
    background-color: #bd4928;
}

/* =====================================================
   GLOBAL UI POLISH - match login/auth pages style
   ===================================================== */

:root {
    --app-primary: #3f6eb1;
    --app-primary-dark: #335a91;
    --app-primary-rgb: 63, 110, 177;
}

/* ---- Form controls: clean focus, no harsh outline ---- */
.form-control,
.custom-select,
select.form-control {
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.custom-select:focus,
select.form-control:focus,
.form-control-alt:focus {
    outline: none !important;
    border-color: var(--app-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--app-primary-rgb), 0.12) !important;
}

textarea.form-control {
    border-radius: 8px;
}

/* Input group fix for rounded edges */
.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group-text {
    border-radius: 8px;
}

/* ---- Buttons: consistent radius, soft focus ---- */
.btn {
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn:focus,
.btn.focus,
.btn:active:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(var(--app-primary-rgb), 0.2) !important;
}
.btn-sm { border-radius: 6px; }
.btn-lg { border-radius: 10px; }
.btn-block-option:focus { outline: none !important; box-shadow: none !important; }

/* ---- Blocks: subtle shadow like login card ---- */
.block.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.block.block-bordered {
    border-color: #e9edf2;
}
.block-rounded {
    border-radius: 10px;
}
.block-rounded > .block-header:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* ---- Badges: consistent radius ---- */
.badge-pill { border-radius: 50rem; }

/* ---- Tables: cleaner hover ---- */
.table.table-hover tbody tr:hover {
    background-color: rgba(var(--app-primary-rgb), 0.03);
}
.table.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.015);
}
.thead-light th {
    background-color: #f7f9fc;
    color: #475569;
    font-weight: 700;
    border-bottom: 2px solid #e9edf2;
}

/* ---- Alerts: softer look ---- */
.alert {
    border-radius: 8px;
}

/* ---- Custom control switch focus ---- */
.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(var(--app-primary-rgb), 0.2) !important;
}

/* ---- Select2 integration (if loaded) ---- */
.select2-container--default .select2-selection--single {
    border-radius: 8px !important;
    border-color: #e4e7ed !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0 !important;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default .select2-selection--single:focus {
    border-color: var(--app-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--app-primary-rgb), 0.12) !important;
    outline: none !important;
}

/* ---- Code/pre: cleaner inline code ---- */
code {
    background: #f1f5f9;
    color: #be185d;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
}

/* ---- Hero action cards hover ---- */
.block-link-shadow {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.block-link-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ---- Scrollbar polish (webkit only) ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
