/* website/static/website/css/base.css */

/* 0. GLOBAL RESET / BASE */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-frame {
    position: relative;
    flex: 1 0 auto;
    background-color: #f5f5f5;
}

.site-header {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 50;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #475567;
    /* same as footer */
}

body.site-body {
    min-height: 100dvh;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


.site-footer {
    width: 100%;
    max-width: 1440px;    /* keep the container width */
    margin: 0 auto;       /* horizontally center */
    margin-top: auto;     /* keep it pushed to bottom in flex layout */
}


/* 6. FOOTER – FLEX VERSION (HOME) */

.home-footer-flex {
    background: #475567;
    color: #ffffff;
    padding: 48px 40px 24px;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding-bottom: 24px;
}

.home-footer-col {
    flex: 1;
    min-width: 0;
    max-width: fit-content;
}

.home-footer-col--brand {
    max-width: 360px;
}

.home-footer-logo {
    max-width: 160px;
    margin-bottom: 16px;
}

.home-footer-text-main {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.home-footer-heading {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-footer-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.home-footer-bottom {
    max-width: 1440px;
    margin: 16px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    opacity: 0.8;
}

.top-left-brand {
    position: absolute;
    top: 53px;
    left: calc(50% - 720px + 160px);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 100;
}

.brand-logo-icon {
    height: 52px;
    width: auto;
    display: block;
}

.brand-logo-text {
    height: 17px;
    width: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.footer-social-row img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.footer-social-row a:hover,
.footer-social-row a:active,
.footer-social-row a:focus {
    text-decoration: none;
}

@media (max-width: 1200px) {
    .home-feature-band {
        padding-inline: 24px;
    }

    .home-feature-inner {
        max-width: 100%;
        gap: 24px;
    }

    .home-footer-inner,
    .home-footer-bottom {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .home-feature-inner {
        grid-template-columns: 1fr;
    }

    .home-footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .home-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* Toast container: fixed overlay, no layout shift */
.toast-container {
    position: fixed;
    top: 100px;                 /* below your fixed header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;       /* clicks pass through except inner box */
}

/* Individual toast */
.toast-message {
    pointer-events: auto;
    min-width: 260px;
    max-width: 480px;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: #0b1520;
    background: #ffffff;

    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Success + error styling */
.toast-success {
    color: #475567;
}

.toast-error {
    color: #475567;
}

/* Hiding state */
.toast-message.is-hidden {
    opacity: 0;
    transform: translateY(-10px);
}