/*
* Language Selector
*/
.language-selector .rd-nav-link a:hover, .language-selector span.separator {
	color: #FFFFFF;
}
.language-selector .rd-nav-link a:hover:after {
	width: 0 !important;
}

.language-selector a {
	cursor: pointer;
}

.language-selector a.active, .language-selector a:hover {
	color: #3db7ef !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

#floating-message-btn {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s;
    margin: 0;
}

@media (max-width: 600px) {
    #floating-message-btn {
        left: 10px;
        bottom: 10px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    #whatsapp-modal {
        left: 0 !important;
        right: 0 !important;
        width: calc(100% - 20px) !important;
        max-width: none !important;
    margin: 0 10px 0 10px !important;
    bottom: 10px !important;
    }
}

#whatsapp-modal {
    position: fixed;
    left: 28px;
    bottom: 28px;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    z-index: 10000;
    margin: 0 0 0 0;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
#whatsapp-modal.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
#whatsapp-modal.closing {
    opacity: 0;
    transform: translateX(-100%);
}

.whatsapp-modal-header {
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 22px 16px 22px 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    position: relative;
}
.whatsapp-logo {
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.whatsapp-header-title {
    font-weight: bold;
    font-size: 18px;
    flex: 1;
}
.whatsapp-modal-close {
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: unset;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(80,80,80,0.45);
    transition: background 0.2s;
    border: none;
    text-align: center;
}
.whatsapp-modal-close:hover {
    background: rgba(50,50,50,0.65);
}

.whatsapp-modal-body {
    padding: 20px 16px 16px 16px;
}
.whatsapp-message {
    margin-bottom: 24px;
    font-size: 16px;
    color: #b9b3aa;
    background: #fff;
    border-radius: 18px 18px 18px 6px;
    padding: 12px 18px;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    margin-left: 0;
    margin-top: 10px;
    border: 1px solid #e2e2e2;
    background-color: #181A1B;
}
.whatsapp-message:before {
    content: '';
    position: absolute;
    left: -11px;
    bottom: 6px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 12px solid #181A1B;
}
.whatsapp-message:after {
    content: '';
    position: absolute;
    left: -10px;
    bottom: 6px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 0px solid transparent;
    border-right: 12px solid #181A1B;
}

.whatsapp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    border-radius: 29px;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s;
    width: 46%;
}
.whatsapp-chat-btn .joinchat__button__send {
    margin-right: 12px;
    stroke: #fff;
    fill: none;
    width: 24px;
    height: 24px;
}

/* SVG Icon Drawing Animation */
.whatsapp-chat-btn .joinchat_svg__plain,
.whatsapp-chat-btn .joinchat_svg__chat {
    transform-origin: center;
}

.whatsapp-chat-btn .joinchat_svg__plain {
    opacity: 0;
}

.whatsapp-chat-btn .joinchat_svg__chat {
    opacity: 1;
    animation: drawIconChat 0.6s ease-out;
}

.whatsapp-chat-btn:hover .joinchat_svg__plain {
    opacity: 1;
    animation: drawIconPlane 0.6s ease-out;
}

.whatsapp-chat-btn:hover .joinchat_svg__chat {
    opacity: 0;
    animation: none;
}

/* Force animation restart when hover ends */
.whatsapp-chat-btn .joinchat_svg__chat {
    animation-fill-mode: forwards;
}

.whatsapp-chat-btn:not(:hover) .joinchat_svg__chat {
    opacity: 1;
    animation: drawIconChatReturn 0.6s ease-out;
}

/* Separate keyframes to force different animations */
@keyframes drawIconChat {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        opacity: 1;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes drawIconPlane {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        opacity: 1;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes drawIconChatReturn {
    0% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
        opacity: 1;
    }
    100% {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.whatsapp-chat-btn:hover {
    background: #1da851;
}

/* Mobile responsive - remove fixed width on mobile */
@media (max-width: 600px) {
    .whatsapp-chat-btn {
        width: auto;
        min-width: 200px;
    }
}
#floating-message-btn:hover {
    background: #0056b3;
}

.language-selector.mobile .rd-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.language-selector.mobile a {
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
}

.language-selector.mobile a.active {
    font-weight: bold;
}

@media (min-width: 1201px) {
	.language-selector.mobile {
		display: none;
	}
}

.snackbars.active.success {
    background-color: #77B254;
}

.snackbars.active.error {
    background-color: #C5172E;
}

/* Fix unwanted negative margin on logo */
.rd-navbar-brand img:first-child {
    margin-top: 12px !important;
}

.rd-navbar-default.rd-navbar-static .rd-navbar-panel .shell {
    padding-bottom: 11px;
}