/* custom.css */

/* Load more */
.load-more-wrapper {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.load-more-wrapper .btn-load-more {
    display: inline-block;
}

.load-more-wrapper .btn-load-more:hover {
    background-color: var(--text-color-green) !important;
    color: #FFFFFF !important;
    border-color: var(--text-color-green) !important;
}

/* Toast */
.toast-close-button {
    font-size: 25px;
    line-height: 20px;
    color: #fff;
    opacity: 0.8;
    top: 4px;
    right: 8px;
}

.toast-close-button:hover {
    color: #fff;
    opacity: 1;
    text-decoration: none;
    background: none;
}

/* Form select input */
.form-select-input {
    border: 0px solid transparent !important;
    width: auto;
    background-color: transparent !important;
    color: var(--text-color);
    font-size: var(--fsize-15);
    font-family: var(--font-family);
    font-weight: 300;
    line-height: var(--line-height-16);
    word-wrap: break-word;
}

/** Data message empty */
.no-data-message {
    color: var(--text-color-green);
    text-align: center;
    font-family: var(--font-family);
    font-size: var(--fsize-15);
    line-height: var(--line-height-16);
    font-weight: 400;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 270px);
}

.modal .no-data-message {
    color: var(--text-color);
}

.no-data-message.gift {
    color: #444444;
}

.modal-dialog-group .no-data-message {
    color: var(--text-color);
}

/** Images */
.icon-image {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
}

.section-group .badge {
    margin-right: 0;
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/** Dialog modal */
.dialog-choice-members .modal-body,
.dialog-gift-recipient .modal-body,
.dialog-gift-event .modal-body,
.dialog-choice-events .modal-body {
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Reset margin and padding, set full width and height, center content horizontally */
/*====== Start ===== */

html, body {
    height: 100% !important;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

@media screen and (min-width: 1024px) {
    html, body {
        width: 375px;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px
    }
}

@media screen and (max-width: 1023px) {
    html, body {
        width: 100%;
        position: relative;
    }
}

#wrapper {
    width: 100% !important;
    position: relative !important;
}

/* Footer */
.wapper-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Button */
main#wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
    scrollbar-width: thin !important;
}

.box-form-delete {
    display: block;
    margin: 20px auto 0 auto;
    position: relative;
    z-index: 1;
}

.modal-backdrop.show{
    width: 100%;
}

/*====== End ===== */

.dialog-choice-members .avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* Modal setting header: no back button (e.g. login when not authenticated) */
.dialog-sub-popup .modal-title > .left-title-icon.left-title-icon--empty {
    display: none;
}

.dialog-gift-recipient .no-data-message,
.dialog-gift-event .no-data-message {
    color: var(--text-color) !important;
    padding-top: 150px;
    height: auto;
}

.text-green {
    color: var(--text-color-green) !important;
}

.pre-wrap {
    white-space: pre-wrap;
}

/* LINE share button */
.wapper-bottom-nav .list-btn {
    max-height: 67px;
}

.btn-line-footer {
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    position: relative;
    z-index: 9999;
}

.btn-line-invite {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    width: calc(100% - 40px);
    margin: 0 20px 10px 20px;
    padding: 10px 15px;
    background-color: #06C755;
    text-decoration: none;
    line-height: 1;
    border-radius: 12px;
    box-sizing: border-box;
}

.line-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.line-icon-circle img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.btn-line-invite span {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

@media screen and (min-width: 1024px) {
    .btn-line-footer {
        display: none;
    }
}
