html {
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    background: #f8f9fa;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background-color: #222;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 8px;
    background-color: #222;
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1.5px solid #222;
}

a.nav-link {
    font-size: 20px !important;
    padding-left: 50px !important;
}

#scrollUp {
    opacity: 0.8;
    box-shadow: var(--bs-box-shadow-sm) !important;
    position: absolute;
    bottom: 40px;
    right: 20px;
    display: none;
    z-index: 1000;
    cursor: pointer;
    font-size: 30px;
    color: #222;
    background-color: #f8f9fa;
    padding: 7px 10px;
    border-radius: 10px;
    line-height: 0;
    border: 2px solid #222;
}

.modal-content {
    border: 2px solid #fff !important;
    background: rgba(33, 37, 41, 0.9) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

.swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: absolute !important;
    bottom: -200px;
}

.swiper-pagination-bullet {
    width: 30px;
    height: 6px;
    border-radius: 3px;
}

.swiper-pagination-bullet-active {
    background: #222;
}

.swiper-button-next:after {
    color: #fff !important;
    font-size: 20px;
    position: absolute;
    right: 0;
}

.swiper-button-prev:after {
    color: #fff !important;
    font-size: 20px;
    position: absolute;
    right: 0;
}

hr {
    opacity: 0.1;
    width: 80% !important;
    border: none;
    border-top: 2px dashed #222;
}

.form-control:active,
.form-control:focus,
.form-control:hover,
.form-select:active,
.form-select:focus,
.form-select:hover,
.btn:active,
.btn:focus,
.btn:hover {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #222;
}

button:active,
button:focus,
button:hover,
.btn-close:active,
.btn-close:focus,
.btn-close:hover {
    outline: none !important;
    box-shadow: none !important;
}

.footer {
    background: #161616;
    color: #f8f9fa;
}

.footext {
    color: #f8f9fac4;
    text-decoration: none;
}

.footext:hover, .footext:active {
    color: #fff;
    cursor: pointer;
}

.sendbuttonnewsletter {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.sendbuttonnewsletter:hover {
    cursor: pointer;
}

.navbar-toggler {
    border: none !important;
}

.desktop14mobile75 {
    font-size: 14px;
}

.desktop14mobile12 {
    font-size: 14px;
}

h4 {
    font-size: 20px;
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0%);
    }
    15%, 45%, 75% {
        transform: translateX(-5px);
    }
    30%, 60%, 90% {
        transform: translateX(5px);
    }
}

.wobble {
    animation: wobble 0.35s ease-in-out;
}

@media (min-width: 270px) and (max-width: 690px) {
    .bgwhitemobile {
        background: #fff;
    }

    h4 {
        font-size: 16px;
    }

    .desktop14mobile75 {
        font-size: 12px;
    }

    .desktop14mobile12 {
        font-size: 12px;
    }

    .justifymobile {
        text-align: justify;
    }

    .footext {
        font-size: 10px;
    }

    a.nav-link {
        padding-left: 10px !important;
    }
}

.dear-tiara-page {
    --dear-plum: #6d294f;
    --dear-plum-deep: #51213d;
    --dear-rose: #d77b9a;
    --dear-rose-soft: #f6c8d4;
    --dear-ivory: #fffaf7;
    --dear-paper: #fff7f5;
    --dear-mauve: #a47a8f;
    background:
        radial-gradient(circle at 100% 6%, rgba(255, 126, 166, 0.22), transparent 30%),
        radial-gradient(circle at 0% 28%, rgba(246, 190, 205, 0.28), transparent 28%),
        linear-gradient(135deg, #fffdfb 0%, #fff7f5 50%, #ffe5ec 100%);
    color: var(--dear-plum);
}

.dear-tiara-page .dear-tiara-nav {
    background: rgba(255, 250, 247, 0.9) !important;
    border-bottom: 1px solid rgba(215, 123, 154, 0.28);
    box-shadow: 0 12px 34px rgba(109, 41, 79, 0.08) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dear-tiara-nav-logo {
    display: block;
    height: 42px;
    width: auto;
}

.dear-tiara-page a.nav-link {
    color: var(--dear-plum) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: 0;
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
}

.dear-tiara-page .navbar-nav {
    align-items: center;
    gap: 10px;
}

.dear-tiara-page a.nav-link.active,
.dear-tiara-page a.nav-link:hover {
    color: var(--dear-rose) !important;
}

.dear-tiara-page .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 11px;
    right: 14px;
    z-index: 10;
    width: 38px;
    height: 38px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(109, 41, 79, 0.18) !important;
    background: rgba(255, 255, 255, 0.62);
}

.dear-tiara-page .navbar-toggler-icon {
    position: relative;
    width: 20px;
    height: 14px;
    background-image: none !important;
    border-top: 2px solid var(--dear-plum);
    border-bottom: 2px solid var(--dear-plum);
}

.dear-tiara-page .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border-top: 2px solid var(--dear-plum);
    transform: translateY(-50%);
}

.dear-tiara-kv-section {
    position: relative;
    width: min(100%, 1945px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--dear-paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82);
}

.dear-tiara-kv-image {
    display: block;
    width: 100%;
    height: auto;
}

.dear-tiara-page hr {
    border-top-color: var(--dear-rose) !important;
    opacity: 0.45;
}

.dear-tiara-page h4,
.dear-tiara-page h5,
.dear-tiara-page .fw-bold {
    color: var(--dear-plum);
}

.dear-tiara-page .text-secondary,
.dear-tiara-page .text-dark-50 {
    color: var(--dear-mauve) !important;
}

.dear-tiara-page .card {
    border: 1px solid rgba(215, 123, 154, 0.28);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(109, 41, 79, 0.1);
}

.dear-tiara-page .form-control,
.dear-tiara-page .form-select,
.dear-tiara-page .select2-container .select2-selection--single {
    border-color: rgba(215, 123, 154, 0.42) !important;
    background-color: rgba(255, 250, 247, 0.92) !important;
    color: var(--dear-plum-deep) !important;
}

.dear-tiara-page .form-control:focus,
.dear-tiara-page .form-select:focus,
.dear-tiara-page .select2-container--focus .select2-selection--single {
    border-color: var(--dear-rose) !important;
    box-shadow: 0 0 0 0.18rem rgba(215, 123, 154, 0.16) !important;
}

.dear-tiara-page .btn-dark,
.dear-tiara-page .btn-light,
.dear-tiara-page .registrantv3-card .btn-light {
    border-color: var(--dear-plum) !important;
    background: var(--dear-plum) !important;
    color: #fffaf7 !important;
}

.dear-tiara-page .btn-dark:hover,
.dear-tiara-page .btn-light:hover,
.dear-tiara-page .registrantv3-card .btn-light:hover {
    border-color: var(--dear-rose) !important;
    background: var(--dear-rose) !important;
    color: #fff !important;
}

.dear-tiara-page .registrantv3-card {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 170, 194, 0.32), transparent 34%),
        linear-gradient(135deg, #7a3158 0%, #d986a2 100%) !important;
    color: #fffaf7 !important;
}

.dear-tiara-page .registrantv3-chart-card {
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.95), rgba(255, 242, 246, 0.86) 38%, transparent 62%),
        linear-gradient(135deg, #fffaf7 0%, #ffe7ee 52%, #fffdfb 100%) !important;
    color: var(--dear-plum);
}

.dear-tiara-page .footer {
    background: var(--dear-plum-deep);
    color: #fffaf7;
}

.dear-tiara-page .footext {
    color: rgba(255, 250, 247, 0.78);
}

.dear-tiara-page .footext:hover,
.dear-tiara-page .footext:active {
    color: #fff;
}

.dear-tiara-page #scrollUp {
    color: var(--dear-plum);
    background-color: rgba(255, 250, 247, 0.92);
    border-color: var(--dear-rose);
}

@media (min-width: 270px) and (max-width: 690px) {
    .dear-tiara-page .bgwhitemobile {
        background: rgba(255, 250, 247, 0.96);
    }

    .dear-tiara-nav-logo {
        height: 34px;
    }

    .dear-tiara-kv-section {
        height: 430px;
        min-height: 430px;
        aspect-ratio: auto;
    }

    .dear-tiara-kv-image {
        height: 100%;
        object-fit: cover;
        object-position: 20% center;
    }

    .dear-tiara-page a.nav-link {
        font-size: 16px !important;
        padding-left: 10px !important;
    }
}

@media (min-width: 992px) {
    .dear-tiara-page .navbar-toggler {
        display: none !important;
    }
}

.buttontiara1 {
    background: #f69da1;
    border: 2px solid #51213d;
    color: #51213d;
    font-weight: bold;
    text-decoration: none;
}

.buttontiara1:hover, .buttontiara1:active, .buttontiara1:focus {
    background: #51213d !important;
    border: 2px solid #51213d !important;
    color: #fff !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.buttontiara2 {
    background: #51213d;
    border: 2px solid #51213d;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.buttontiara2:hover, .buttontiara2:active, .buttontiara2:focus {
    background: #f69da1 !important;
    border: 2px solid #51213d !important;
    color: #51213d !important;
    font-weight: bold !important;
    text-decoration: none !important;
}



.buttontiara3 {
    background: #25d366;
    border: 2px solid #25d366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.buttontiara3:hover, .buttontiara3:active, .buttontiara3:focus {
    background: #fff !important;
    border: 2px solid #25d366 !important;
    color: #25d366 !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.chat-tiara-modal {
    min-height: 100vh;
    border: 0 !important;
    background:
        radial-gradient(circle at 100% 8%, rgba(255, 126, 166, 0.22), transparent 30%),
        radial-gradient(circle at 0% 80%, rgba(246, 190, 205, 0.28), transparent 32%),
        linear-gradient(135deg, #fffdfb 0%, #fff7f5 52%, #ffe5ec 100%) !important;
    color: #6d294f;
    box-shadow: none !important;
}

.chat-tiara-header {
    min-height: 70px;
    border-bottom: 1px solid rgba(215, 123, 154, 0.28) !important;
    background: rgba(255, 250, 247, 0.88);
    color: #6d294f;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.chat-tiara-header .modal-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    color: #6d294f;
}

.chat-tiara-close {
    filter: none;
    opacity: 1;
}

.chat-tiara-body {
    display: flex;
    min-height: 0;
    padding: 20px;
    overflow: hidden;
}

.chat-tiara-invoice,
.chat-tiara-chat {
    display: flex;
    width: 100%;
    min-height: 100%;
}

.chat-tiara-invoice {
    align-items: center;
    justify-content: center;
}

.chat-tiara-invoice-card {
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid rgba(215, 123, 154, 0.28);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 45px rgba(109, 41, 79, 0.1);
}

.chat-tiara-invoice-title {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    color: #6d294f;
}

.chat-tiara-invoice-copy {
    margin-bottom: 18px;
    color: #a47a8f;
}

.chat-tiara-invoice-form {
    display: flex;
    gap: 10px;
}

.chat-tiara-invoice-alert {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(220, 53, 69, 0.24);
    border-radius: 12px;
    background: rgba(255, 236, 239, 0.92);
    color: #842029;
    font-size: 14px;
}

.chat-tiara-invoice-alert.is-success {
    border-color: rgba(25, 135, 84, 0.24);
    background: rgba(232, 246, 239, 0.92);
    color: #0f5132;
}

.chat-tiara-messages {
    width: min(960px, 100%);
    margin: 0 auto;
    padding: 8px 4px 24px;
    overflow-y: auto;
}

.chat-tiara-message {
    display: flex;
    margin: 12px 0;
}

.chat-tiara-message-user {
    justify-content: flex-end;
}

.chat-tiara-message-ai {
    justify-content: flex-start;
}

.chat-tiara-bubble {
    max-width: min(760px, 82%);
    padding: 13px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-tiara-message-ai .chat-tiara-bubble {
    border-top-left-radius: 6px;
    border: 1px solid rgba(215, 123, 154, 0.28);
    background: rgba(255, 255, 255, 0.82);
    color: #6d294f;
    box-shadow: 0 12px 34px rgba(109, 41, 79, 0.08);
}

.chat-tiara-message-user .chat-tiara-bubble {
    border-top-right-radius: 6px;
    background: #6d294f;
    color: #fffaf7;
    box-shadow: 0 12px 34px rgba(109, 41, 79, 0.14);
}

.chat-tiara-message-error .chat-tiara-bubble {
    border-color: rgba(220, 53, 69, 0.24);
    background: rgba(255, 236, 239, 0.92);
    color: #842029;
}

.chat-tiara-footer {
    border-top: 1px solid rgba(215, 123, 154, 0.28) !important;
    background: rgba(255, 250, 247, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.chat-tiara-form {
    display: flex;
    width: min(960px, 100%);
    gap: 10px;
    margin: 0 auto;
}

.chat-tiara-input {
    min-height: 48px;
    border-color: rgba(215, 123, 154, 0.42) !important;
    background-color: rgba(255, 255, 255, 0.88) !important;
    color: #51213d !important;
}

.chat-tiara-send {
    min-width: 110px;
    border-color: #6d294f !important;
    background: #6d294f !important;
    color: #fffaf7 !important;
    font-weight: 700;
}

.chat-tiara-send:hover,
.chat-tiara-send:focus,
.chat-tiara-send:active {
    border-color: #d77b9a !important;
    background: #d77b9a !important;
    color: #fff !important;
}

@media (min-width: 270px) and (max-width: 690px) {
    .chat-tiara-body {
        padding: 14px 10px;
    }

    .chat-tiara-invoice-card {
        padding: 22px 16px;
    }

    .chat-tiara-invoice-title {
        font-size: 24px;
    }

    .chat-tiara-invoice-form {
        flex-direction: column;
    }

    .chat-tiara-bubble {
        max-width: 88%;
        font-size: 14px;
    }

    .chat-tiara-form {
        gap: 8px;
    }

    .chat-tiara-send {
        min-width: 82px;
    }
}

/* Summary Weekly Card */
.summary-weekly-card {
    border: 1px solid rgba(215, 123, 154, 0.28);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(109, 41, 79, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.summary-weekly-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(215, 123, 154, 0.18);
}

.summary-weekly-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6d294f, #d77b9a);
    color: #fffaf7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(109, 41, 79, 0.25);
}

.summary-weekly-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 20px;
    color: #6d294f;
    margin: 0;
    line-height: 1.3;
}

.summary-weekly-period {
    font-size: 13px;
    color: #a47a8f;
    margin: 4px 0 0;
}

.summary-weekly-badge {
    display: inline-block;
    background: rgba(109, 41, 79, 0.1);
    color: #6d294f;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    margin-left: 6px;
}

.summary-weekly-body {
    padding: 20px 28px 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

@media (min-width: 270px) and (max-width: 690px) {
    .summary-weekly-card {
        border-radius: 16px;
    }

    .summary-weekly-header {
        padding: 18px 18px 14px;
        gap: 12px;
    }

    .summary-weekly-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .summary-weekly-title {
        font-size: 17px;
    }

    .summary-weekly-period {
        font-size: 12px;
    }

    .summary-weekly-body {
        padding: 16px 18px 20px;
        font-size: 13px;
    }
}
