/* Minification failed. Returning unminified contents.
(485,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(486,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(868,52): run-time error CSS1046: Expect comma, found '255'
(868,59): run-time error CSS1046: Expect comma, found ')'
 */
@import url("https://fonts.googleapis.com/css?family=Modak");

@font-face {
    font-family: Boris;
    src: url('/Content/webfonts/DFVN_Boris.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Kage;
    src: url('/Content/webfonts/KagePro-Regular.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Blenda;
    src: url('/Content/webfonts/1FTV-blenda-script.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Orange;
    src: url('/Content/webfonts/1FTV-Orange-Squash-1.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Wolfers;
    src: url('/Content/webfonts/1FTV-Wolfers.regular.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Paula;
    src: url('/Content/webfonts/SVN-Paula Natalie.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Bartex;
    src: url('/Content/webfonts/KK7-Bartex.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Gladolia;
    src: url('/Content/webfonts/VN-Gladolia-Regular.otf.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Cool;
    src: url('/Content/webfonts/SVN-Be Cool.otf') format('opentype') /* Modern Browsers */
}

@font-face {
    font-family: Gesco;
    src: url('/Content/webfonts/1FTV-HF-Gesco.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Sofia;
    src: url('/Content/webfonts/UVF-Sofia-Regular.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Love;
    src: url('/Content/webfonts/UVF-RixLoveFool.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Baloo2;
    src: url('/Content/webfonts/Baloo2-SemiBold.ttf') format('truetype') /* Modern Browsers */
}

@font-face {
    font-family: Quicksand;
    src: url('/Content/webfonts/Quicksand-Regular.ttf') format('truetype') /* Modern Browsers */
}

#selectFontTitle, #selectFontSubTitle {
    /*font-size: 1.2rem;*/
}

body {
    /*background: url('/Content/images/memory_bg_main/memory_bg_main_1.png') no-repeat center center fixed;*/
    overflow: hidden;
}

.theme-font-title {
    font-family: Kage;
}

.theme-font-content {
    font-family: Boris;
}

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.new-card-top__padding-top {
    padding-top: 45px;
}

.text-title-color {
    color: #e8726a !important;
}

.text-sub-title-color {
    color: #e8726a !important;
}

.text-content-color {
    color: #F08974 !important;
}

.text-content-color-w {
    color: white !important;
}

.container-memo-vip {
    border: 10px solid orange !important;
    -webkit-box-shadow: 0px 0px 0px 20px rgb(255, 165, 0), 1px 1px 8px 0 rgba(0,0,0,0.4) !important;
    -moz-box-shadow: 0px 0px 0px 20px rgb(255, 165, 0), 1px 1px 8px 0 rgba(0,0,0,0.4) !important;
    box-shadow: 0px 0px 0px 20px rgb(255, 165, 0), 1px 1px 8px 0 rgba(0,0,0,0.4) !important;
}

.container-memo {
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.23),0 10px 20px -2px rgba(0,0,0,.04);
    /*position: relative;*/
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    /*background-color: #fff;*/
    background-clip: border-box;
    /*border: 1px solid rgba(0,0,0,.125);*/
    border-radius: 2.5rem;
    /*backdrop-filter: blur(15px);
    background-color: #ffffff38;*/
    /*backdrop-filter: blur(5px);*/
    background-color: #ffffff69;
    position: absolute;
    top: 48px;
    right: 0;
    bottom: 0;
    left: 0;
    border: 10px solid #f9b5a1;
    -webkit-box-shadow: 0px 0px 0px 20px #f9b5a1, 1px 1px 8px 0 #f9b5a1;
    -moz-box-shadow: 0px 0px 0px 20px #f9b5a1, 1px 1px 8px 0 #f9b5a1;
    box-shadow: 0px 0px 0px 20px #f9b5a1, 1px 1px 8px 0 #f9b5a1;
}

.container-memo.banner-visible {
    top: 80px;
}

    .container-memo .card-body {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        padding-top: 0px;
    }

    .container-memo .card {
        font-family: 'Boris', 'Roboto';
    }

.line-header {
    font-family: 'Kage', 'Roboto';
    /*background-color: #ce926fa8;*/
    /*background: url('/Content/images/memory_bg_main/3.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: #e8726a;
}

    .line-header .title {
        font-family: 'Kage', 'Roboto';
        font-size: 2rem;
        border: 2px solid #e8726a;
        border-radius: 28px/60%;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #fff;
    }

    .line-header .sub-title {
        font-family: 'Boris', 'Roboto';
        text-shadow: #ddc0bf 1px 0 4px;
    }

#btnSendMessage {
    font-family: 'Roboto' !important;
}

.bg-color-1 {
    background-color: #E5D4FF;
}

.bg-color-2 {
    background-color: white;
}

.bg-color-3 {
    background-color: #F9F3CC;
}

.bg-color-4 {
    background-color: #D7E5CA;
}

.bg-color-5 {
    background-color: #FAF3F0;
}

.bg-color-6 {
    background-color: #F3FDE8;
}

.verified-avatar-icon {
    position: absolute;
    left: 37px;
    bottom: 0;
    border-radius: 50%;
    background: #f9a813;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-size: 10px;
    font-weight: bolder;
    border: solid 3px #fff;
}

.text-day {
    /*height: 166px;*/
    display: inline-block;
    font-size: 62px;
    line-height: 100%;
    font-family: Modak;
    padding-left: 7px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    /*margin-top: calc(50vh - 100px);*/
    text-shadow: 5px 5px 0 #d2d2d22e;
}

.text-1 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='200px' height='200px' viewBox='0 0 400 400'%3e%3cdefs%3e%3cfilter id='filter' width='400px' height='400px' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-color='%23f5576c' flood-opacity='1' x='0' y='0' width='250px' height='250px' result='flood3'%3e%3c/feFlood%3e%3cfeFlood flood-color='%23f093fb' flood-opacity='1' x='150px' y='150px' width='250px' height='250px' result='flood4'%3e%3c/feFlood%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood3' edgeMode='none' result='blur1'%3e%3c/feGaussianBlur%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood4' edgeMode='none' result='blur2'%3e%3c/feGaussianBlur%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur2' in2='SourceGraphic' result='blend5'%3e%3c/feBlend%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur1' in2='blend5' result='blend6'%3e%3c/feBlend%3e%3c/filter%3e%3c/defs%3e%3crect width='400' height='400' x='0' y='0' fill='%23fee140' filter='url(%23filter)'%3e%3c/rect%3e%3c/svg%3e");
}

.text-2 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='200px' height='200px' viewBox='0 0 400 400'%3e%3cdefs%3e%3cfilter id='filter' width='400px' height='400px' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-color='%238fd3f4' flood-opacity='1' x='0' y='0' width='250px' height='250px' result='flood3'%3e%3c/feFlood%3e%3cfeFlood flood-color='%2396e6a1' flood-opacity='1' x='150px' y='150px' width='250px' height='250px' result='flood4'%3e%3c/feFlood%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood3' edgeMode='none' result='blur1'%3e%3c/feGaussianBlur%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood4' edgeMode='none' result='blur2'%3e%3c/feGaussianBlur%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur2' in2='SourceGraphic' result='blend5'%3e%3c/feBlend%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur1' in2='blend5' result='blend6'%3e%3c/feBlend%3e%3c/filter%3e%3c/defs%3e%3crect width='400' height='400' x='0' y='0' fill='%23d4fc79' filter='url(%23filter)'%3e%3c/rect%3e%3c/svg%3e");
}

.text-3 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='200px' height='200px' viewBox='0 0 400 400'%3e%3cdefs%3e%3cfilter id='filter' width='400px' height='400px' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-color='%23cd9cf2' flood-opacity='1' x='0' y='0' width='250px' height='250px' result='flood3'%3e%3c/feFlood%3e%3cfeFlood flood-color='%23c2e9fb' flood-opacity='1' x='150px' y='150px' width='250px' height='250px' result='flood4'%3e%3c/feFlood%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood3' edgeMode='none' result='blur1'%3e%3c/feGaussianBlur%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood4' edgeMode='none' result='blur2'%3e%3c/feGaussianBlur%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur2' in2='SourceGraphic' result='blend5'%3e%3c/feBlend%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur1' in2='blend5' result='blend6'%3e%3c/feBlend%3e%3c/filter%3e%3c/defs%3e%3crect width='400' height='400' x='0' y='0' fill='%2366a6ff' filter='url(%23filter)'%3e%3c/rect%3e%3c/svg%3e");
}

.text-4 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='200px' height='200px' viewBox='0 0 400 400'%3e%3cdefs%3e%3cfilter id='filter' width='400px' height='400px' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3e%3cfeFlood flood-color='%230fd850' flood-opacity='1' x='0' y='0' width='250px' height='250px' result='flood3'%3e%3c/feFlood%3e%3cfeFlood flood-color='%2320E2D7' flood-opacity='1' x='80px' y='160px' width='250px' height='250px' result='flood4'%3e%3c/feFlood%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood3' edgeMode='none' result='blur1'%3e%3c/feGaussianBlur%3e%3cfeGaussianBlur stdDeviation='50 50' x='0%25' y='0%25' width='100%25' height='100%25' in='flood4' edgeMode='none' result='blur2'%3e%3c/feGaussianBlur%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur2' in2='SourceGraphic' result='blend5'%3e%3c/feBlend%3e%3cfeBlend mode='normal' x='0%25' y='0%25' width='100%25' height='100%25' in='blur1' in2='blend5' result='blend6'%3e%3c/feBlend%3e%3c/filter%3e%3c/defs%3e%3crect width='400' height='400' x='0' y='0' fill='%23fbed96' filter='url(%23filter)'%3e%3c/rect%3e%3c/svg%3e");
}


/*PILL*/
.container-pill {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    grid-auto-rows: 150px;
    grid-auto-flow: row dense;
    grid-gap: 23px;
    justify-content: center;
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.card-top, .card-right, .card-bottom, .card-left {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    width: 100%;
    border-radius: 95.2380952381px;
    box-shadow: 0px 3px 9px 1px rgba(0, 10, 20, 0.2);
    transition: 0.5s;
    z-index: 1;
    position: relative;
    backdrop-filter: blur(15px);
}

.card-top {
    flex-direction: column;
    grid-column: auto / span 1;
    grid-row: auto / span 2;
}

.card-right {
    flex-direction: row-reverse;
    grid-column: auto / span 2;
    grid-row: auto / span 1;
}

.card-bottom {
    flex-direction: column-reverse;
    grid-column: auto / span 1;
    grid-row: auto / span 2;
}

.card-left {
    flex-direction: row;
    grid-column: auto / span 2;
    grid-row: auto / span 1;
}

.card-image {
    display: flex;
}

.card-top .card-image, .card-bottom .card-image {
    height: 50%;
    width: 100%;
}

.card-left .card-image, .card-right .card-image {
    height: 100%;
    width: 50%;
}

.card-image img {
    width: 100%;
    object-fit: cover;
}

.card-top:hover,
.card-right:hover,
.card-bottom:hover,
.card-left:hover {
    transform: scale(1.3);
    z-index: 9;
    transform-style: preserve-3d;
}

.card-top img {
    border-radius: 95.2380952381px 95.2380952381px 0 0;
}

.card-right img {
    border-radius: 0 95.2380952381px 95.2380952381px 0;
}

.card-bottom img {
    border-radius: 0 0 95.2380952381px 95.2380952381px;
}

.card-left img {
    border-radius: 95.2380952381px 0 0 95.2380952381px;
}

.card-text {
    align-self: center;
    padding: 23px;
    font-family: Boris, 'Roboto';
}

.card-top .card-text {
    height: auto;
    width: auto;
    padding-bottom: 36.8px;
}

.card-right .card-text {
    height: auto;
    width: 50%;
    padding-left: 36.8px;
}

.card-bottom .card-text {
    height: auto;
    width: auto;
    padding-top: 36.8px;
}

.card-left .card-text {
    height: auto;
    width: 50%;
    padding-right: 36.8px;
    padding-left: 27px;
}

.card-text p {
    margin: 0;
    line-height: 1.35em;
    color: #345;
}

.card-custom-avatar img {
    border-radius: 50%;
    /*box-shadow: 0 0 15px rgba(10,10,10,.3);*/
    position: absolute;
    top: calc(50% - 25px);
    width: 50px;
    object-fit: cover;
    min-height: 50px;
    max-height: 50px;
    left: calc(50% - 25px);
    border: 2px solid white;
}

.card-image:after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    z-index: 0;
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.card-left .card-image:after {
    width: 50%;
    height: 100%;
    background: rgba(0,0,0,0) linear-gradient(to right,rgba(0,0,0,0) 50%,rgba(0,0,0,.3) 100%) repeat 0 0;
}

.card-right .card-image:after {
    left: 50%;
    width: 50%;
    height: 100%;
    background: rgba(0,0,0,0) linear-gradient(to left,rgba(0,0,0,0) 50%,rgba(0,0,0,.3) 100%) repeat 0 0;
}


@media (max-width: 500px) {
    .card-top {
        flex-direction: row;
        grid-column: auto / span 2;
        grid-row: auto / span 1;
    }

    .card-bottom {
        flex-direction: row-reverse;
        grid-column: auto / span 2;
        grid-row: auto / span 1;
    }

        .card-top .card-image, .card-bottom .card-image {
            height: 100%;
            width: 50%;
        }

    .card-top img {
        border-radius: 95.2380952381px 0 0 95.2380952381px;
    }

    .card-bottom img {
        border-radius: 0 95.2380952381px 95.2380952381px 0;
    }

    .card-top .card-text {
        height: auto;
        width: 50%;
        padding-right: 36.8px;
    }

    .card-bottom .card-text {
        height: auto;
        width: 50%;
        padding-left: 36.8px;
    }
}

@media (max-width: 400px) {
    .card-image {
        width: 38% !important;
    }

    .card-text {
        width: 62% !important;
    }
}
/*PILL*/

:root {
    --surface-color: #fff;
    --curve: 30;
}

/* CARD TILE (default) đã tách sang ~/Content/MemoryCard/zmysite_memory_card_default.css
   — load theo TileTypeId trong Views/Memory/Index.cshtml. */

.card__thumb__detail {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    /*border: 5px solid white;*/
    background-color: white;
    transition: .2s ease-in-out;
}

    .card__thumb__detail:hover {
        transform: scale(1.3);
    }

#txtWishContent {
    resize: none;
}

.divCover {
    border: 1px solid #c6b2b2;
    border-radius: 5px;
    height: 330px;
}

#tabSample, #tabUpload, #divFrameSample {
    overflow: auto;
    height: 272px;
}

    #tabSample img, #divFrameSample img {
        transition: .2s ease-in-out;
    }

        #tabSample img:hover, #divFrameSample img:hover {
            cursor: pointer;
            border: 4px solid orange;
            opacity: 1;
        }

.tab-cover {
    padding: 15px 5px 15px 5px !important;
}

    .tab-cover.active {
        background-color: transparent !important;
    }

.tab-camera-container {
    height: 272px;
}

/*IMAGE GRID*/
.row-img {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    margin-bottom: 10px;
}

/* Create four equal columns that sits next to each other */
.column-img {
    -ms-flex: 33%; /* IE10 */
    flex: 33%;
    max-width: 33%;
    padding: 0 4px;
}

.column-img-4 {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

    .column-img img,
    .column-img-4 img {
        margin-top: 8px;
        vertical-align: middle;
        width: 100%;
    }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column-img, .column-img-4 {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column-img, .column-img-4 {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

/*AVATAR*/
.avatar-frame-container {
    height: 180px;
    width: 180px;
    position: relative;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 10px;
    transition: all ease 0.5s;
}

.avatar-frame {
    position: absolute;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.avatar-person {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 100%;
    height: calc(100% - 40px);
    object-fit: cover;
    width: calc(100% - 40px);
    margin: 20px;
}

.hover-scale-cursor:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.hover-scale:hover {
    transform: scale(1.1);
}

.avatar-frame-container-master:hover {
    /*transform: scale(1.1);*/
}

.avatar-frame-container:hover {
    /*transform: scale(1.1);*/
}

/*CROP AVATAR*/
#popupCropAvatar .cropper-view-box,
#popupCropAvatar .cropper-face {
    border-radius: 50%;
}

#popupCropAvatar .modal-body {
    background: #222;
}

#cropContainer {
    max-height: 380px;
    overflow: hidden;
    background: #222;
}

/*SETTING*/
.card__background {
    height: 100px;
    background-size: cover !important;
}

.selected {
    border: solid 3px #09d947d6 !important;
}

.imgFrameSample.selected {
    border: solid 3px #09d947d6 !important;
    border-radius: 20px;
}

.div-option-card {
    border: 3px solid white;
    box-shadow: 0 2px 5px -3px rgba(0, 0, 0, 0.23),0 10px 5px -2px rgba(0,0,0,.04) !important;
    transition: all ease 0.5s;
}

    .div-option-card .option-detail {
        color: #c8bebe !important;
        transition: all ease 0.5s;
    }

    .div-option-card:not(.selected) img {
        opacity: 0.7;
        transition: all ease 0.5s;
    }

    .div-option-card:hover {
        cursor: pointer;
        transform: translateY(-1px);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2) !important;
    }

        .div-option-card:hover .option-detail {
            color: gray !important;
        }

        .div-option-card:hover img {
            opacity: 1;
        }

/*SHARE*/
#popupShareQrCode img {
    display: unset !important;
}

#popupShareQrCode {
    padding-top: 12px;
}

#popupShareUrl:hover {
    cursor: pointer;
}

/*SEND WISH*/
.container-upload {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 263px;
}

#btnUploadImageMessage:hover {
    color: #00b74a;
    cursor: pointer;
}

#btnPasteImageMessage:hover {
    color: #ffa900;
    cursor: pointer;
}

#imgUploadMessage {
    height: 270px;
    object-fit: contain;
    width: 100%;
}

#tabSample img {
    border-radius: 5px;
    opacity: 0.7;
}

    #tabSample img.selected {
        border-radius: 5px;
        opacity: 1;
        border: none !important;
        box-shadow: 0px 0px 0px 5px rgb(255, 165, 0), 1px 1px 10px 0 rgba(0,0,0,0.4);
    }

#imgTakePhotoCanvas {
    height: 277px;
}

#cameraCapture {
    border: 1px solid orange;
    height: 277px;
}

.popupSendWishFull {
    width: 98% !important;
}

/* Make send wish popup body flex-stretch so textarea fills height */
#popupSendWish .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#popupSendWish .popupSendWishContainer {
    flex: 1;
    min-height: 0;
    align-items: stretch;
}

#popupSendWish .popupSendWishLeft {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#popupSendWish #divWishDefaultInput {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#popupSendWish #divWishDefaultInput .row {
    flex: 1;
    min-height: 0;
}

#popupSendWish #divWishDefaultInput .col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#popupSendWish #divWishDefaultInput .form-outline {
    flex: 1;
    display: flex;
    min-height: 0;
}

#txtWishContent {
    flex: 1;
    height: auto !important;
    min-height: 100px;
    resize: none;
}

/* Form mode navigator fill height */
#popupSendWish #divWishFormInputs {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 4px;
}

#popupSendWish .wish-form-nav-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#popupSendWish .wish-form-nav-textarea {
    flex: 1;
    height: auto !important;
    min-height: 120px;
}

.popupSendWishLeft {
    width: 40%;
}

.popupSendWishRight {
    width: 58%;
    margin-left: 10px;
}

/*WISH DETAIL*/
.wish-title {
    border: 2px solid #f29886;
    border-radius: 42px/50%;
    padding-left: 7px !important;
    padding-right: 17px !important;
    background-color: #f29886;
    padding-top: 27px;
    padding-bottom: 27px;
    color: #fff !important;
}

.card-detail-text {
    /*align-self: center;*/
    padding: 23px;
    font-family: Boris, 'Roboto';
}

.wish-img-detail {
    /*max-height: calc(100vh - 100px);*/
    /*min-height: 215px;*/ 
}

.fade-image-bottom {
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
    mask-image: linear-gradient(to bottom, rgb(255 255 255) 80%, rgba(0, 0, 0, 0));
}

.wish-img-mask {
    border-bottom-right-radius: calc(.5rem - 1px);
    border-bottom-left-radius: calc(.5rem - 1px);
    background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0) 20%, hsl(0deg 0% 0% / 90%)) !important;
}

.memory-note {
    color: gray;
    font-size: 12px;
    text-shadow: #ddc0bf 1px 0 4px;
}

.bg_card {
    z-index: 20;
}

.quote-left {
    position: relative;
    top: -8px;
    color: #ffa900;
}

.quote-right {
    position: relative;
    top: -8px;
    color: #ffa900;
}

.wish-content {
    text-shadow: #060500 1px 0 2px;
}

.btnNextWish:hover, .btnPrevWish:hover {
    cursor: pointer;
    opacity: 0.8;
}

.text-index {
    color: white;
    opacity: 0.7;
    text-shadow: #060500 1px 0 2px;
    font-family: Roboto;
    font-weight: bold;
}

/* VÙNG VIP COMPACT */
.vip-action-bar {
    background: linear-gradient(120deg, #fff9e6, #ffe9b3);
    border-radius: 33px;
    padding: 4px 4px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(255, 178, 54, 0.35);
    animation: vip-bar-glow 5s ease-in-out infinite;
}

/* NÚT VIP */
.vip-btn {
    background: linear-gradient(135deg, #ffe8a6, #ffcb57);
    border: none;
    color: #7a4a00;
    padding: 8px 14px;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(255, 180, 50, 0.45);
    border-radius: 50px;
    transition: 0.25s;
}

    .vip-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 12px rgba(255, 165, 0, 0.6);
    }

/* Nút gửi lời chúc VIP đặc biệt */
.vip-highlight {
    background: linear-gradient(135deg, #ffeeb0, #ffc943, #ffb037);
    color: #6b3e00;
    animation: vip-pulse 2s infinite ease-in-out;
}

/* Text bên trái */
.vip-label-left {
    font-size: 14px;
    font-weight: 700;
    color: #c48a00;
    padding-left: 6px;
    text-shadow: 0 0 4px rgba(255, 200, 70, 0.4);
    font-family: Roboto;
}

    .vip-label-left i,
    .vip-label-right i {
        color: #d2d250;
    }

/* Text bên phải */
.vip-label-right {
    font-size: 14px;
    font-weight: 700;
    color: #c48a00;
    padding-right: 6px;
    text-shadow: 0 0 4px rgba(255, 200, 70, 0.4);
    font-family: Roboto;
}

.vip-label-center {
    font-size: 14px;
    font-weight: 700;
    color: #c48a00;
    text-shadow: 0 0 4px rgba(255, 200, 70, 0.4);
    font-family: Roboto;
}

.vip-bar-show-mobile {
    display: none;
}

/* Icon trái tim VIP */
.vip-heart {
    display: inline-block;
    width: 24px;
    height: 21px;
    background: linear-gradient(135deg, #ff9ec4, #ff4f81);
    clip-path: path("M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.41 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.41 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z");
    background-size: 100% 100%;
    animation: heart-beat 1.2s ease-in-out infinite;
    margin-right: 6px;
    margin-left: 6px;
}

.note-hint {
    background: linear-gradient(to right, #FFF3E0, #FFECB3);
    border-left: 4px solid #FFA726;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    color: #6D4C41;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    display: block;
    align-items: flex-start;
}

    .note-hint i {
        color: #FFA726;
        flex-shrink: 0;
        font-size: 1.1rem;
        margin-top: 0.15rem;
    }

/* Animation flip + nghỉ 4 giây */
.date-animate .text-day {
    display: inline-block;
    transform-origin: center;
    animation: flipWithPause 5.5s ease-in-out infinite;
}

    /* Delay từng ký tự */
    .date-animate .text-day:nth-child(1) {
        animation-delay: 0s;
    }

    .date-animate .text-day:nth-child(2) {
        animation-delay: 0.15s;
    }

    .date-animate .text-day:nth-child(3) {
        animation-delay: 0.30s;
    }

    .date-animate .text-day:nth-child(4) {
        animation-delay: 0.45s;
    }

    .date-animate .text-day:nth-child(5) {
        animation-delay: 0.60s;
    }

    .date-animate .text-day:nth-child(6) {
        animation-delay: 0.75s;
    }

    .date-animate .text-day:nth-child(7) {
        animation-delay: 0.90s;
    }

    .date-animate .text-day:nth-child(8) {
        animation-delay: 1.05s;
    }

    .date-animate .text-day:nth-child(9) {
        animation-delay: 1.20s;
    }

    .date-animate .text-day:nth-child(10) {
        animation-delay: 1.35s;
    }

/* Popup VIP */
.vip-modal {
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Header gradient VIP */
.vip-header {
    background: linear-gradient(90deg, #ffeec4, #fff8e7);
    border-bottom: none;
    padding: 1rem 1.2rem;
}

/* Text label */
.vip-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* QR Section */
.vip-section {
    background: #fff9ee;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ffe7c2;
    margin-bottom: 10px;
}

.vip-qrcode {
    padding: 10px;
}

/* Divider */
.vip-divider {
    font-weight: bold;
    color: #b58a00;
}

/* Copy link box */
.vip-copy-box {
    background: #f8fff5;
    border: 1px solid #cbeac1;
    border-radius: 12px;
    padding: 10px;
    display: inline-block;
    min-width: 260px;
    cursor: pointer;
}

.vip-copy-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2c8a2c;
    word-break: break-word;
}


/* Flip + Pause 4s */
@keyframes flipWithPause {
    0% {
        transform: rotateX(0deg);
    }

    20% {
        transform: rotateX(90deg);
    }

    35% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(0deg); /* 4 giây nghỉ */
    }
}

/* Heart Beat Animation */
@keyframes heart-beat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15);
    }

    40% {
        transform: scale(0.95);
    }

    55% {
        transform: scale(1.18);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Animation glow nền */
@keyframes vip-bg-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 194, 48, 0.3);
    }

    50% {
        box-shadow: 0 0 18px rgba(255, 194, 48, 0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 194, 48, 0.3);
    }
}

/* Animation pulse nút VIP */
@keyframes vip-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 180, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(255, 160, 0, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 180, 0, 0.4);
    }
}


@media only screen and (max-width: 768px), (max-width: 992px) {
    body {
        overflow-y: auto;
    }

    .container-memo {
        border: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        background-color: transparent;
    }

    .container-memo-vip {
        border: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

    .popupSendWishContainer {
        flex-wrap: wrap;
    }

    .popupSendWishLeft {
        width: 100%;
    }

    .popupSendWishRight {
        width: 100%;
        margin-left: 0px;
        height: 270px;
    }

        .popupSendWishRight .tab-cover i {
            margin-bottom: 0.5rem;
        }

    #tabSample img {
        width: 45% !important;
        margin-right: 10px;
    }

    #tabSample, #tabUpload, #divFrameSample, .tab-camera-container {
        height: 262px;
    }

    #cameraCapture {
        height: 255px;
    }

    .div-button-camera {
        margin-bottom: 16px;
    }

    #imgTakePhotoCanvas {
        height: 255px;
    }

    #txtWishContent {
        min-height: 120px;
    }

    .line-header .title {
        font-family: 'Kage', 'Roboto';
        font-size: 2rem;
        border: none;
        border-radius: 0;
        padding-left: 20px;
        padding-right: 20px;
        background-color: transparent;
    }

    .memory-header {
        flex-wrap: wrap;
    }

    .text-day {
        font-size: 40px;
    }

    .highlight-nav-btn {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        display: inline-block !important;
    }

    .highlight-nav-btn-orange {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        display: inline-block !important;
    }

    .ui-datepicker-title {
        font-size: 14px;
    }

    .tooltip {
        display: none !important;
    }

    #popupWishDetail .modal-dialog {
        min-width: 0px !important;
    }

    #divFrameSample img {
        width: 48% !important;
    }

    #txtWisher {
        font-size: 1rem !important;
    }

    .tab-name {
        font-size: 0.7rem;
    }

    .vip-bar-show-mobile {
        display: inline-flex;
    }
}

/* Support banner */
.support-banner {
    width: 100%;
    background-color: rgba(255, 243, 224, 0.72);
    border-bottom: 1px solid rgba(255, 200, 130, 0.35);
    text-align: center;
    padding: 6px 40px 6px 12px;
    position: sticky;
    top: 56px;
    z-index: 900;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-banner__body {
    font-size: 0.82rem;
    color: rgba(120, 80, 30, 0.65);
    letter-spacing: 0.01em;
    text-decoration: none;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.support-banner__body:hover {
    color: rgba(140, 70, 10, 0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.support-banner__icon {
    font-size: 0.78rem;
    margin: 0 4px;
    color: rgba(210, 140, 50, 0.6);
}

.support-banner__close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: rgba(140, 90, 30, 0.45);
    font-size: 0.8rem;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.support-banner__close:hover {
    color: rgba(140, 60, 10, 0.85);
    background-color: rgba(200, 150, 80, 0.12);
}

.support-banner__text-short {
    display: none;
}

@media only screen and (max-width: 768px) {
    .support-banner {
        top: 48px;
        padding: 5px 36px 5px 10px;
    }

    .support-banner__body {
        font-size: 0.74rem;
    }

    .support-banner__text-full {
        display: none;
    }

    .support-banner__text-short {
        display: inline;
    }
}

/* Handle 125% and 150% Windows 10 Font Scaling on 96dpi monitors */
@media (min-resolution: 120dpi) and (min-width: 1025px) {
    html {
        font-size: 70%;
    }

    .avatar-frame-container {
        height: 120px;
        width: 120px;
        margin-right: 30px;
        margin-left: 30px;
    }

    .text-day {
        font-size: 40px;
    }

    .line-header .title {
        font-size: 2rem;
        border-radius: 20px/50%;
    }

    #popupWishDetail .modal-dialog {
        min-width: 300px !important;
    }

    #divFrameSample {
        height: 200px;
    }
}

/*BACKGROUND HEART ANIMATION*/
.bg_heart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2
}

.heart {
    position: absolute;
    top: -50%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -m-transform: rotate(-45deg);
    transform: rotate(-45deg);
    opacity: 0.2;
}

    .heart:before {
        position: absolute;
        top: -50%;
        left: 0;
        display: block;
        content: "";
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: 100%;
    }

    .heart:after {
        position: absolute;
        top: 0;
        right: -50%;
        display: block;
        content: "";
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: 100%;
    }


.card-lock-icon {
    position: absolute;
    top: 8px;
    right: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 5px;
    font-size: 14px;
    z-index: 10;
}

.send-lock-icon {
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 5px;
    font-size: 14px;
    z-index: 10;
}

@-webkit-keyframes love {
    0% {
        top: 110%
    }
}

@-moz-keyframes love {
    0% {
        top: 110%
    }
}

@-ms-keyframes love {
    0% {
        top: 110%
    }
}

@keyframes love {
    0% {
        top: 110%
    }
}

/*----------------------EMOJI----------------------*/
.emoji-counts-center {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
}

.emoji-count-center {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 3px 5px;
    border-radius: 13px;
    box-shadow: inset 0 0 3px rgba(255,255,255,0.2);
    transition: 0.2s ease;
    margin-left: 2px;
}

    .emoji-count-center i {
        font-size: 12px;
    }


.emoji-button-corner {
    position: relative;
    display: flex;
    align-items: center;
}

.emoji-main-icon {
    font-size: 16px;
    color: #ffffffc4;
    background: linear-gradient(135deg, #e8ff47bf, #ffcc334f);
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 180, 0, 0.53);
    transition: 0.2s ease;
}

    .emoji-main-icon:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 10px rgba(255, 160, 0, 0.9);
    }

.emoji-menu-popup {
    position: absolute;
    height: 40px;
    bottom: calc(100% + 8px);
    top: auto;
    left: 50%;
    transform: translateX(-20%) translateY(6px);
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 4px 4px;
    border-radius: 23px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

    .emoji-menu-popup .emoji-btn {
        font-size: 18px;
        cursor: pointer;
        border-radius: 50%;
        padding: 6px;
        background: rgba(255, 255, 255, 0.7);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
        transition: all 0.18s ease;
    }

        .emoji-menu-popup .emoji-btn:hover {
            transform: translateX(-2px) scale(1.4);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
        }

    /* Khi bật bằng JS */
    .emoji-menu-popup.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    /*.emoji-main-icon {
        font-size: 14px;
        padding: 5px;
    }

    .emoji-count-center {
        font-size: 10px;
        padding: 2px 6px;
    }*/
}

.emoji-top-bar {
    position: absolute;
    /*top: 7px;
    left: 7px;
    right: auto;*/

    bottom: 35px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    transform: none;
    z-index: 20;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.27);
    backdrop-filter: blur(6px);
    padding: 4px 4px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.emoji-btn.clicked {
    animation: emoji-pop 0.25s ease;
}

@keyframes emoji-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Emoji trong popup */
.emoji-menu-popup .emoji-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* Emoji trong thanh count */
.emoji-count-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    /*margin-right: 4px;*/
    vertical-align: middle;
}

.emoji-count-center span {
    margin-left: 2px;
}

.emoji-count-center img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    /*margin-right: 4px;*/
}


#emoji-global-popup {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: 0.2s ease;
    z-index: 99999;
}

    #emoji-global-popup.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
#emoji-global-popup {
    will-change: transform;
}

/* =========================
   REMOVE ICON – STYLE RIÊNG
   ========================= */
.emoji-menu-popup .emoji-btn-remove {
    margin-left: 2px;
    background: rgba(255, 80, 80, 0.18);
    /*box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.35), 0 4px 10px rgba(255, 60, 60, 0.25);*/
}

    .emoji-menu-popup .emoji-btn-remove:hover {
        background: rgba(255, 60, 60, 0.25);
        /*box-shadow: 0 0 0 1px rgba(255, 60, 60, 0.6), 0 6px 14px rgba(255, 60, 60, 0.4);*/
        transform: scale(1.15) rotate(-5deg);
    }

.emoji-menu-popup .emoji-img-remove {
    width: 20px; /* nhỏ hơn emoji thường */
    height: 20px;
    filter: drop-shadow(0 0 2px rgba(255, 80, 80, 0.6));
}


.emoji-main-icon-unselect {
    background: linear-gradient(135deg, #e8ff476e, #ffcc334f) !important;
}


/* FLOATING GROUP BUTTON */
#btnGroupFloat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    font-weight: 700;
    font-family: Roboto;
    font-size: 11px !important;
    padding: 6px 12px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 65, 108, 0.55);
    transition: 0.25s ease;
    animation: float-pulse 2.5s ease-in-out infinite;
}

    #btnGroupFloat:hover {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 8px 24px rgba(0, 176, 155, 0.55);
        color: #fff;
    }

.btn-group-float-label {
    letter-spacing: 0.5px;
}

@keyframes float-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(0, 176, 155, 0.45);
    }

    50% {
        box-shadow: 0 6px 22px rgba(0, 176, 155, 0.7);
    }

    100% {
        box-shadow: 0 4px 16px rgba(0, 176, 155, 0.45);
    }
}

@media (max-width: 768px) {
    #btnGroupFloat {
        bottom: 16px;
        right: 12px;
        padding: 6px 12px;
        font-size: 11px !important;
    }
}

/* Div empty state chiếm toàn bộ không gian của container cha */
.card_curve__container > .empty-state-wrap {
    width: 100%;
    white-space: nowrap; /* Không xuống dòng trên desktop */
}

/* ── Mobile: cho phép xuống dòng + căn lên trên ── */
@media (max-width: 576px) {
    .empty-state-wrap {
        align-items: center !important;
        justify-content: flex-start !important; /* đẩy lên top */
        padding-top: 2rem !important;
    }

    .empty-state-text {
        white-space: normal; /* cho phép wrap khi không đủ chỗ */
    }
}

/* ===== WISH FORM FEATURE ===== */

/* Q&A display trong wish card */
.wish-qa-list {
    padding: 4px 0.8em 0.5em;
    overflow: hidden;
    max-height: 126px;
    height: 126px;
}

.wish-qa-item {
    margin-bottom: 5px;
}

.wish-q-badge {
    background: rgba(255,152,0,0.15);
    color: #e65100;
    border: 1px solid rgba(255,152,0,0.35);
    font-size: 0.68rem;
    padding: 1px 7px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2px;
    white-space: normal;
    line-height: 1.4;
}

.wish-a-text {
    font-size: 1rem;
    margin: 0 0 3px 2px;
    color: #F08974;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Form setting card hover */
.wish-form-setting-card {
    cursor: pointer;
    background: rgba(255,152,0,0.12);
    border: 1px dashed rgb(255, 152, 0) !important;
}
.wish-form-setting-card:hover {
    background: rgba(255,152,0,0.2) !important;
    transition: background 0.2s;
}

/* Form mode inputs trong popup send wish */
.wish-form-q-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e65100;
    margin-bottom: 3px;
    display: block;
}

.wish-form-a-textarea {
    font-size: 0.88rem;
    min-height: 58px;
    resize: none;
}

/* divWishFormInputs: navigator layout, no scroll needed */
#divWishFormInputs {
    /*padding-right: 2px;*/
}

/* Modal form definition - question rows */
.wish-form-question-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.wish-form-question-input {
    flex: 1;
    font-size: 0.9rem;
}

/* ---- Mode selector tabs ---- */
.wish-form-mode-tabs {
    gap: 10px;
}

.wish-form-mode-tab {
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    transition: border-color 0.2s, background 0.2s;
    background: #fafafa;
    user-select: none;
}

.wish-form-mode-tab:hover {
    border-color: rgba(255,152,0,0.5);
    background: rgba(255,152,0,0.05);
}

.wish-form-mode-tab-active {
    border-color: #e65100 !important;
    background: rgba(255,152,0,0.08) !important;
}

.wish-form-mode-tab-title {
    font-size: 0.85rem;
    color: #444;
}

.wish-form-mode-tab-active .wish-form-mode-tab-title {
    color: #e65100;
}

.wish-form-mode-tab-desc {
    font-size: 0.72rem;
    color: #888;
}

/* Preview illustration box */
.wish-form-preview-box {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 6px 8px;
    text-align: left;
    min-height: 80px;
}

.wfp-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.wfp-label {
    font-size: 0.6rem;
    color: #999;
    white-space: nowrap;
}

.wfp-input-mock {
    flex: 1;
    height: 10px;
    background: #e9ecef;
    border-radius: 3px;
}

.wfp-input-mock.wfp-input-short {
    flex: 0 0 55px;
}

.wfp-textarea-label {
    font-size: 0.6rem;
    color: #999;
    margin-bottom: 3px;
}

.wfp-textarea-mock {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 4px 5px;
}

.wfp-textarea-line {
    height: 6px;
    background: #dee2e6;
    border-radius: 2px;
    margin-bottom: 3px;
}

.wfp-q-row {
    margin-bottom: 5px;
}

.wfp-q-badge {
    display: block;
    font-size: 0.58rem;
    color: #e65100;
    background: rgba(255,152,0,0.12);
    border-radius: 4px;
    padding: 1px 4px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Orange buttons in form modal */
/*.wish-form-btn-save {*/
    /*background: #e65100;*/
    /*color: #fff;
    border: none;
}

.wish-form-btn-save:hover {
    background: #bf360c;
    color: #fff;
}*/

.wish-form-btn-add {
    width: 100%;
    background: transparent;
    color: #e65100;
    border: 1.5px dashed rgba(255,152,0,0.6);
    border-radius: 6px;
    font-size: 0.85rem;
    box-shadow: none !important;
}

.wish-form-btn-add:hover {
    background: rgba(255,152,0,0.06);
    color: #bf360c;
    border-color: #e65100;
    box-shadow: none !important;
}

/* Q input wrapper — unified border */
.wish-form-q-input-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s;
    width: 100%;
}

.wish-form-q-input-wrap:focus-within {
    border-color: rgba(255,152,0,0.7);
    box-shadow: 0 0 0 2px rgba(255,152,0,0.12);
}

.wish-form-question-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 0.88rem;
    background: transparent;
    min-width: 0;
}

.wish-form-remove-btn {
    flex-shrink: 0;
    border: none;
    border-left: 1px solid #ced4da;
    background: #f8f9fa;
    color: #aaa;
    padding: 0 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.15s, color 0.15s;
    box-shadow: none !important;
    outline: none;
}

.wish-form-remove-btn:hover {
    background: #fff0f0;
    color: #dc3545;
    border-left-color: #dc3545;
}

/* ---- Form Navigator (one question at a time) ---- */
.wish-form-nav-wrap {
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Q&A card */
.wish-form-qa-card {
    border: 1.5px solid rgba(255,152,0,0.4);
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.wish-form-qa-header {
    background: rgba(255,152,0,0.13);
    padding: 4px 12px;
    font-size: 0.80rem;
    font-weight: 600;
    color: #e65100;
    border-bottom: 1px solid rgba(255,152,0,0.25);
    flex-shrink: 0;
    line-height: 1.4;
}

.wish-form-qa-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
}

.wish-form-nav-textarea {
    font-size: 0.9rem;
    resize: none;
    min-height: 80px;
    border-radius: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.wish-form-nav-btn {
    background: transparent;
    color: #e65100;
    border: 1.5px solid #e65100;
    padding: 4px 14px;
    min-width: 44px;
    border-radius: 6px;
    box-shadow: none !important;
}

.wish-form-nav-btn:hover:not(:disabled) {
    background: rgba(255,152,0,0.1);
    color: #bf360c;
    border-color: #bf360c;
}

    .wish-form-nav-btn:disabled {
        opacity: 1 !important;
        cursor: not-allowed;
        border: 1px solid rgba(255,152,0,0.4) !important;
        color: rgba(230,81,0,0.5) !important;
    }

/* wish detail popup - Q&A format */
.wish-detail-qa-wrap {
    display: block;
    text-align: left;
    padding: 4px 0;
}

.wish-detail-q-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #fff3e0;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 1px 10px;
    margin-bottom: 4px;
    margin-top: 13px;
    letter-spacing: 0.01em;
}

.wish-detail-a-text {
    display: block;
    font-size: 1.25rem;
    color: #fff;
    padding: 0 6px;
    line-height: 1.55;
    word-break: break-word;
}

/* Template preset buttons */
.wish-form-template-btn {
    font-size: 0.7rem;
    padding: 2px 9px;
    background: transparent;
    color: #e65100;
    border: 1px solid rgba(255,152,0,0.5);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: none !important;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1.6;
}

.wish-form-template-btn:hover {
    background: rgba(255,152,0,0.12);
    border-color: #e65100;
    color: #bf360c;
}

/* Hint note box (info style) */
.wish-form-hint-note {
    background: rgba(13,110,253,0.06);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: 6px;
    padding: 5px 10px;
    color: #084298;
}

/* Locked tab style when wishes exist */
.wish-form-mode-tab-locked {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.wish-form-lock-note {
    background: rgba(255,152,0,0.08);
    border: 1px solid rgba(255,152,0,0.25);
    border-radius: 6px;
    padding: 5px 10px;
    color: #856404;
}


@media only screen and (max-width: 576px) {
    .wish-form-q-label {
        font-size: 0.78rem;
    }
    .wish-form-a-textarea {
        font-size: 0.82rem;
        min-height: 50px;
    }
    .wish-form-preview-box {
        min-height: 70px;
    }
}

.center-vertical-badge {
    vertical-align: middle;
    position: relative;
    top: -1px;
}
