.text-black {
    color: #1E1E1E;
}

.text-gray {
    color: #727272;
}

/* TIER */

/* leisure */
.btn-leisure-tier {
    color: #FF585D !important;
    border-bottom: 1.5px solid #FF585D;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.btn-leisure-tier:hover {
    filter: brightness(85%);

}

.tier-progress .progress-leisure {
    background: #FFF0F0;
    position: relative;
    font-size: .6rem;
    font-weight: 500;
    height: 8px;
    border-radius: 1px;
}

.progress-leisure-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 31.25%), linear-gradient(180deg, rgba(0, 0, 0, 0) 62.5%, rgba(0, 0, 0, 0.2) 100%), #FF585D;
    transition: width 0.6s ease;
    height: 8px;
}

.cover-leisure {
    background: url('/img/tier/leisure-background.png') no-repeat center;
    background-size: cover;
}

/* ELITE */
.btn-elite-tier {
    color: #7CE0D3 !important;
    border-bottom: 1.5px solid #7CE0D3;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.btn-elite-tier:hover {
    filter: brightness(85%);
}

.tier-progress .progress-elite {
    background: #7CE0D340;
    position: relative;
    font-size: .6rem;
    font-weight: 500;
    height: 8px;
    border-radius: 1px;
}

.progress-elite-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 31.25%), linear-gradient(180deg, rgba(0, 0, 0, 0) 62.5%, rgba(0, 0, 0, 0.2) 100%), #7CE0D3;
    transition: width 0.6s ease;
    height: 8px;
}

.cover-elite {
    background: url('/img/tier/elite-background.png') no-repeat center;
    background-size: cover;
}


/* Luxury */
.btn-luxury-tier {

    color: #121A22 !important;
    border-bottom: 1.5px solid #121A22;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.btn-luxury-tier:hover {
    filter: brightness(85%);
}

.tier-progress .progress-luxury {
    background: #828285;
    position: relative;
    font-size: .6rem;
    font-weight: 500;
    height: 8px;
    border-radius: 1px;
}

.progress-luxury-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 31.25%), linear-gradient(180deg, rgba(0, 0, 0, 0) 62.5%, rgba(0, 0, 0, 0.2) 100%), #121A22;
    transition: width 0.6s ease;
    height: 8px;
}

.cover-luxury {
    background: url('/img/tier/luxury-background.png') no-repeat center;
    background-size: cover;
}


/* PRIVATE */
.btn-private-tier {
    background: linear-gradient(225deg, #080809 0%, #0F0F10 20.83%, #828285 48.44%, #0B0B0C 75%, #080809 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    /* color: #7CE0D3 !important; */
    border-bottom: 1.5px solid rgba(130, 130, 133, 1);
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.btn-private-tier:hover {
    filter: brightness(85%);
}

.tier-progress .progress-private {
    background: #828285;
    position: relative;
    font-size: .6rem;
    font-weight: 500;
    height: 8px;
    border-radius: 1px;
}

.progress-private-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(225deg, #080809 0%, #0F0F10 20.83%, #828285 48.44%, #0B0B0C 75%, #080809 100%);
    transition: width 0.6s ease;
    height: 8px;
}

.cover-private {
    background: url('/img/tier/private-background.png') no-repeat center;
    background-size: cover;
}


/* All */
div.heading.heading-w-link .see-more {
    border-bottom: 1.5px solid #FF585D;
    /* padding-bottom: 3px; */
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
}

.top-section {
    margin-top: 82px;
    height: 166px;
}
.top-section-reward{
    margin-top: 32px;
}

.cover-dashboard+* {
    margin-top: -32px;
}

div.dashboard-account {
    padding-top: 0px;
    padding-bottom: 0px;
}


div.dashboard-account .container {
    margin-top: 0px;
}

div.heading {
    margin-bottom: 0px;
}

div.heading .title {
    font-size: 24px;
}

div.heading .title:before {
    margin-top: 0px;
}

.cover-dashboard .heading .title {
    color: #fff;
}

.cover-dashboard .heading .title:before {
    background-color: #fff;
}

section.dashboard-account-1 .heading {
    padding-left: 0rem;
}

.dashboard-account .card {
    padding: 27px 48px;
}

.dashboard-account hr {
    border-top: 4px solid #F5F4F4;
}

.dashboard-account .nickname span {
    font-weight: 100;
}

.dashboard-account .member h5 {
    font-weight: 400;
    font-size: 14px;
}

.dashboard-account .member p {
    font-size: 14px;
    color: #727272;
}

/* personal-information */

.dashboard-account .personal-information h5 {
    font-weight: 400;
    font-size: 14px;
}

.personal-information h3,
.member .number {
    font-size: 20px;
    font-weight: 400;
}

.dashboard-account .personal-information img {
    margin-right: 16px;
}

.dashboard-account .personal-information p.title {
    color: #727272;
    font-size: 12px;
    margin-bottom: 4px;
}

/* membership */
.membership h4 {
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: left;
    font-size: 20px;

}

.tier-detail .member {
    font-size: 18px;
}

.tier-detail .point {
    font-size: 16px;
}

.tier-detail .member span,
.tier-detail .point span {
    font-weight: 100;
}

.modal-share .modal-dialog .close {
    right: 8px;
    top: 0px;
    opacity: 1;
}

.modal-share .modal-dialog .close i {
    color: #000001;
    background: #fff;
    border-radius: 50%;
    font-size: 14px;
    height: 30px;
    width: 30px;
    padding: 8px;
}

.modal-share .modal-content .card,
.modal-share .modal-content {
    border-radius: 12px;
}

.modal-share .modal-content .title {
    font-weight: 400;
    font-size: 14px;
    color: #727272;
}

.modal-share .modal-content h3 {
    font-size: 24px;
}

.modal-share .modal-content .card-body,
.modal-share .modal-content .card-footer {
    padding-right: 24%;
    padding-left: 24%;
}

.modal-share .modal-content h6 {
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #1E1E1E;
}

.modal-share .modal-content .referrals-used {
    font-style: normal;
    font-size: 12px;
    line-height: 18px;
    color: #727272;
}

.modal-share .modal-content .referrals-used span {
    font-weight: 400;
}

.modal-share .modal-content h5 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1E1E1E;
}

.modal-share .modal-content .button-share {
    /* Auto layout */
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 40px;
    gap: 12px;

    width: 400px;
    height: 40px;

    border: 1px dashed rgba(177, 179, 179, 0.25);
    border-radius: 8px;

    /* Inside auto layout */

    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.modal-share .modal-content ol {
    font-size: 14px;
    padding-inline-start: 12px;
    font-family: Oswald;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    color: #727272;
}

.modal-share .modal-content ol p {
    margin-left: 10px;
    margin-bottom: 6px;
}

.nickname a {
    display: none;
}

body .owl-theme .owl-dots .owl-dot span {
    margin: 3px 0px;
}

body .owl-dots .owl-dot span {
    width: 28px !important;
    height: 4px !important;
    border-radius: 1px;
}

body .owl-dots .owl-dot.active span {
    width: 28px !important;
    height: 4px !important;
    border-radius: 1px;
}

body .modal-share .card-footer {
    border-top: none;
    box-shadow: 0px -4px 40px rgb(0 0 0 / 10%);
}

div.dashboard-account .tier-detail .point {
    padding-left: 4px;
}

div.dashboard-account .tier-detail .point > img {
    margin-right: 4px;
}

/* fix modal open goyang */
body.modal-open {
    padding-right: 0 !important;
}

body.modal-open .navbar.navbar-bagscity {
    padding: 0.5rem 1rem !important;
}

.card-voucher h5, .card-reward h5 {
    font-size: 20px;
}

.modal.modal-full {
    top: 0;
}
.modal.modal-share .modal-content {
    overflow-y: auto;
}

.card-reward .card-img {
    height: unset;
}

/* voucher / reward card list */
.card-voucher .card-img {
    height: unset;
}

@media (max-width: 767px) {

    body.modal-open {
        overflow: hidden;
        position: fixed;
    }

    .text-xs-left {
        text-align: left !important;
    }

    .text-xs-right {
        text-align: right !important;
    }

    .text-xs-center {
        text-align: center !important;
    }
    
    div.dashboard-account .container {
        padding-right: 15px;
    }
    
    .cover-dashboard+* {
        margin-top: -90px;
    }
    
    div.dashboard-account  .card  > .row {
        justify-content: center;
    }
    div.dashboard-account  .card  > .row > [class^="col"] {
        padding: 0 0px;
    }


    body .cover-dashboard div.heading .title {
        margin-top: -60px;
        font-size: 18px;
    }

    body  div.heading .title:before {
        width: 20px;
        height: 5px;
        left: 7px;
        top: 60%;
        margin-top: -5px;
    }

    div.heading .title {
        padding-left: 2rem;
    }

    div.dashboard-account .card {
        padding: 12px;
    }

    .dashboard-account .nickname h2 {
        font-size: 18px;
    }

    .dashboard-account .nickname a {
        display: block;
    }

    div.dashboard-account .member h5 {
        font-size: 12px;
    }

    div.personal-information h3,
    .member .number {
        font-size: 16px;
    }

    div.dashboard-account .member p {
        font-size: 12px;
    }
    div.dashboard-account .member h5{
        margin-top: 6px;
    }

    div.dashboard-account .personal-information {
        display: none;
    }

    .membership {
        display: none;
    }

    div.dashboard-account h3 {
        margin-bottom: 0px;
    }

    div.dashboard-account .tier-image {
        padding-right: 0px;
    }

    div.dashboard-account .tier-detail {
        padding-left: 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }
    div.dashboard-account .tier-detail .title h2{
        margin-bottom: 0px;
    }

    div.dashboard-account .tier-detail .info {
        align-items: center;
    }

    div.dashboard-account .tier-detail p {
        padding-left: 8px;
        margin-bottom: 0px;
    }
    
    div.dashboard-account .tier-detail .point {
        padding-left: 4px;
    }


    .modal-share .modal-content .card-body,
    .modal-share .modal-content .card-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .modal-share .modal-content img.modal-bg {
        object-fit: none;
        object-position: 0% 20%;
        height: 100px;
    }
  
    body .heading.heading-w-link .see-more {
        top: -6px;
    }
    .tier-progress {
        margin-top: 25px;
    }


    .card-voucher p.valid-until {
        margin-bottom: 0px;
    }

    .card-voucher h5, .card-reward h5 {
        margin-top: 25px;
    }

    .cover.cover-general.cover-dashboard{
       background-position: -2% 0%;
       background-position: 5% 54%;
        background-size: 470%;
    }

    /* homepage  */
    .bc-introduction .graphic-pink {
        top: 0;
    }

    /* activity  */
    .card-activity .card-body{
        padding: 10px 1rem 0 1rem;
    }
    .card-activity .card-body p  {
        margin-bottom: 6px;
    }
    .card-activity .card-body h5 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .modal-share .modal-content .button-share {
        width: 336px;
    }

    .modal-share.modal-full .modal-content {
        /* height: calc(100vh - 100px);
        bottom: 20px;
        top: 20px; */
        height: calc(80vh);
        /* bottom: 20px; */
        top: 10px;
    }

    .section-voucher-cover-detail{
        padding-top: 72px;
        padding-right: 10px;
    }
     .navbar.fixed-top + .section-voucher-cover-detail {
        margin-top: 0px;
    }
    .cover-home .cover-content .cover-text {
        width: 100%;
    }

    /* .modal.modal-share .modal-content {
        overflow: hidden;
    } */
    .modal.modal-share .modal-content .card-body {
        padding-bottom: 70px;
    }

    .modal.modal-share .modal-content .card {
        position: relative;
    }

    .modal.modal-share .modal-content .card-footer { 
        position: absolute;
    bottom: 0px;
    width: 100%;
    }
}

/* mobile for iphone 5 etc  */
@media (max-width: 320px) {
    div.dashboard-account .tier-detail .point {
        font-size: 13px;
    }

    .card-voucher .card-body {
        padding: 5px;
    }
    .card-activity .card-body {
        padding: 0.2rem 1rem 0 1rem;
    }
    .card-activity .card-body h5 {
        font-size: 12px;
    }
}

/* TABLET  */
@media (min-width: 768px)  and (max-width: 991px) {
    .membership {
        margin-top: 12px;
    }
    .tier-progress {
            margin-top: 12px;
    }
    .dashboard-account .card {
        padding: 26px 36px;
    }

  
}
@media (min-width: 768px) {
    .cover-home img {
        height: 100%;
        object-fit: cover;
    }
}