    /* main */
    @font-face        {font-family: 'Social-Regular'; src: url('../fonts/FacebookSans-Regular.woff2') format('woff2')}
    @font-face        {font-family: 'Saans'; src: url('../fonts/Saans.woff2') format('woff2')}
    .hidden           {display: none;}
    .pointer          {cursor:pointer;}
    /* chat */
    .chat             {background-color: #001622 !important;}
    .chat .top        {border-bottom: 1px solid #082e42 !important;}
    .chat .top img    {max-width:150px; border:0px !important;}
    /* messages */

    .chat .messages {
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    color: #161c2d;
    word-wrap: break-word;
    box-sizing: border-box;
    list-style: none;
    margin-bottom: 0 !important;
    }

    .chat .messages .message p {
    display: inline-flex;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Nunito", sans-serif;
    word-wrap: break-word;
    list-style: none;
    box-sizing: border-box;
    font-size: 0.875em;
    margin: 0.25rem;
    padding: 0.5rem 1rem !important;
    color: #6c757d !important;
    border-radius: 0.375rem !important;
    }

    .chat .messages .message img {
    display: inline-flex;
    margin: 0.25rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    color: #161c2d;
    word-wrap: break-word;
    box-sizing: border-box;
    vertical-align: middle;
    border-radius: 50% !important;
    box-shadow: 0 0 3px rgba(60, 72, 88, 0.15) !important;
    height: 45px;
    width: 45px;
    }

    .chat .messages              {padding: 1rem; padding-bottom: 50px;}
    .chat .messages .message     {background-color: #001c2b; border: 1px solid #000000; padding: 8px;}
    .chat .messages .message img {border:0px !important;}
    .chat .messages .message p   {text-align: left; white-space: pre-wrap !important; background-color: rgb(18 118 213) !important; color: #ffffff !important;}
    .chat .messages .message p   {font-family: "Saans"; font-size: 0.99em !important;}
    .chat .message-sender        {color:#FFFFFF; font-size: 12px; font-family: "Social-Regular";}
    .chat .message-time          {display: inline-block; min-width: 80px; color:#FFFFFF; font-size: 12px; font-family: "Social-Regular";}
    .chat .message a             {color: transparent !important; text-decoration: none !important;}

    /* bottom */
    .bottom {display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; align-content: flex-start; gap: 12px;}
    .bottom {background: #001521; width:100%; padding: 1rem 0;}
    .bottom {border-top: 1px solid #082e42 !important; height: 70px; padding-left: 20px !important; padding-right: 20px !important;}
    .bottom {font-weight: 400; line-height:  1.5; ; font-family: "Nunito", sans-serif;
             font-size: 1rem; color: #161c2d; word-wrap: break-word; box-sizing: border-box;}
    @media (max-width: 767px)  {.bottom {margin-left: -2%; width:104%;}}


    .bottom input {float: left; display: inline-flex; word-wrap: break-word; box-sizing: border-box; padding: 0.375rem 0.75rem; font-weight: 400;
                   background-clip: padding-box; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; font-size: 14px; line-height: 26px;
                   border-radius: 6px;}
    .bottom input  {background-color: #000d14 !important; border: 1px solid #082e42 !important; color: #ffffff !important; width:86% !important;}
    @media (max-width: 767px)  {.chat .messages .message p   {max-width: calc(100% - 66px);}}
    @media (min-width: 767px)  {.chat .messages .message p   {max-width: 420px;}}
    @media (max-width: 1030px) {
    #navbar {background-color: #0e1b29; background: url(../../img/mobileheaders/plaza-exotica.webp) no-repeat !important; background-size: cover !important;}
    .cd-side-nav {background-color: #0e1b29; background-image: url(../../img/backgrounds/tropicalmodalbg.webp) !important; background-repeat: no-repeat;
                  background-position: 0px 0px; background-size: 100% 100%;}}
    ol, ul       {padding-left: 0px !important}

    .chat .messages .message {margin-bottom: 1rem;}
    .chat .messages .left    {text-align: left;}
    .chat .messages .right  {text-align: right;}

@media (max-width: 768px)  {
    .chat {margin-left: -10px; margin-right: -10px;}
    .chat .messages {padding-left: 4px; padding-right: 4px;}
}

.ql-toolbar.ql-snow   {display: none;}
.ql-container.ql-snow {border: 1px solid #153885 !important; border-radius: 10px;}
.card-footer {background: #040c1e;}
@media screen and (min-width: 768px)  {.card-footer {margin-top:-60px; padding:50px;}}
@media screen and (max-width: 768px)  {.card-footer {margin-top:-20px; padding:15px;}}
.space-y-8 p {line-height: 1 !important;}
.gap-x-4 {margin-top:-2px !important;}

/* default state (hidden) */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* visible state */
.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* animation for closing */
.popup-overlay.closing {
    opacity: 0;
}

/* popup content animation */
.popup-content {
    transform: translateY(-30px);  /* start slightly above */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* closing slides down */
.popup-overlay.closing .popup-content {
    transform: translateY(40px);
    opacity: 0;
}

.popup-content {
    background-color: #141b2d;
    box-shadow: 0 0 5px rgb(0 144 255 / 80%);
    border-top: 1px solid #3c4048;
    padding: 20px;
    border-radius: 10px;
    height: 350px;
    width: 400px;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#comment-popup .popup-content {
   margin-top: -40vh;
}

#guest-popup .popup-content {
    height: 650px !important; 
}

#message {
    height: 300px !important;
    background-color: #040B1D !important;
    color: #FFFFFF !important;
    padding: 15px;
    border-radius: 8px;
}

#send-button {
    position: relative; /* needed for ripple */
    overflow: hidden;   /* keep ripple inside */
    background: linear-gradient(135deg, #0090ff, #005bbb);
    color: #fff;
    font-weight: 600;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 
        transform 0.15s ease, 
        box-shadow 0.3s ease, 
        background 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 144, 255, 0.4);
    padding-bottom: 20px;
}

/* hover = slight glow + lift */
#send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 144, 255, 0.8);
    background: linear-gradient(135deg, #00aaff, #0066cc);
}

/* active (pressed) = push down */
#send-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 0 5px rgba(0, 144, 255, 0.6);
}

/* ripple element */
#send-button .ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

#close-popup {
    position: relative; /* needed for ripple */
    overflow: hidden;   /* keep ripple inside */
    background: linear-gradient(135deg, #ff7100, #bb3c00);
    color: #fff;
    font-weight: 600;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 
        transform 0.15s ease, 
        box-shadow 0.3s ease, 
        background 0.3s ease;
    box-shadow: 0 0 10px rgb(255 148 0 / 40%);
    padding-bottom: 20px;
}

/* ripple animation */
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.avatar-picker {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow-y: auto;
    justify-content: space-around;
    align-items: center;
    gap: 23px;
    margin-top: 10px;
}

.avatar-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.avatar-picker img {
    width:70px;
    height:70px;
    border-radius:50%;
    cursor:pointer;
}

.avatar-picker-footer {
    position: absolute;
    width: 90%;
    bottom: 20px;
}

#guest-popup {
    text-align:center;
}

.underpick {
    font-size: 11px;
}