body,
html {
    margin: 0;
    overscroll-behavior: none;
    background-color: var(--bg);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.msgDiv {
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: flex;
    align-items: end;
    flex-direction: column-reverse;
    z-index: 1000;
}

.msgBox,
.confirmBox {
    transform: translateX(calc(100% + 40px)) scaleY(0);
    height: 0;
    margin-top: 0;
    padding: 10px 15px;
    color: #fff;
    background-color: #0b0b0b;
    border-left: 4px solid;
    border-radius: 2px;
    transition: all 1s ease;
}

.msgBox.show,
.confirmBox.show {
    transform: translateX(0) scaleY(1);
    height: 40px;
    margin-top: 10px;
}

.msgBox.show {
    height: 40px;
}

.confirmBox.show {
    height: 100px;
}

.buttonConfirmDiv {
    margin-top: 16px;
    display: flex;
    justify-content: space-around;
}

.confirmBox button {
    padding: 8px 24px;
    transition: background-color 0.3s ease, opacity 1s ease, height 1s ease;
    color: #fff;
    border: none;
    border-radius: 8px;
    opacity: 0;
    height: 0;
    font-size: 18px;
}

.confirmBox.show button {
    opacity: 1;
    height: auto;
}

.confirmYesButton {
    background-color: rgba(0, 255, 0, 0.75);
}

.confirmNoButton {
    background-color: rgba(255, 0, 0, 0.75);
}

.confirmYesButton:hover {
    background-color: rgba(0, 255, 0, 1);
}

.confirmNoButton:hover {
    background-color: rgba(255, 0, 0, 1);
}

/* --- SITE FOOTER --- */
.site-footer {
    background-color: var(--sec);
    color: var(--white, #F9FAFB);
    padding: 3rem 2rem;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: var(--max-width-content, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
}

/*.footer-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}*/

.footer-link:hover {
    color: #ffffff;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transform: scaleX(0);
    transition: transform 0.3s ease, backgound-color 0.3s ease;
}

.footer-link:hover::after {
    transform: scaleX(1);
    background-color: #fff;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--white);
}

.cookieBanner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 120%);
    width: calc(100vw - 32px);
    max-width: 440px;
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    font-family: inherit;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookieBanner.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.cookieBanner-title {
    margin: 0 0 8px 0 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: var(--main, #325382) !important;
    line-height: 1.3;
}

.cookieBanner-text {
    margin: 0 0 16px 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #4a5568 !important;
}

.cookieBanner-buttons {
    display: flex;
    gap: 12px;
}

.cookieBanner-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    flex: 1;
    text-align: center;
    font-family: inherit;
    outline: none;
}

.cookieBanner-btn-primary {
    background-color: var(--main, #325382);
    color: var(--white, #F9FAFB);
    box-shadow: 0 2px 8px rgba(50, 83, 130, 0.2);
}

.cookieBanner-btn-primary:hover,
.cookieBanner-btn-primary:focus-visible {
    background-color: #2a4570;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 83, 130, 0.3);
}

.cookieBanner-btn-primary:active {
    transform: translateY(0);
}

.cookieBanner-btn-secondary {
    background-color: transparent;
    color: #4a5568;
    border: 1px solid #d1d5db;
}

.cookieBanner-btn-secondary:hover,
.cookieBanner-btn-secondary:focus-visible {
    background-color: #f3f4f6;
    color: var(--main, #325382);
}