@use "../typography/typography.module.scss";

.footer-bar {
    position: fixed;
    left: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    right: 0;
    bottom: 0;
    background: var(--surface-bg-below-2, #090f11);
    z-index: 50;
    border-top: 1px solid var(--border-inverted, #232b2e);

    .footer-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 36px;
        padding: 4px 1rem 6px 1rem;
        box-sizing: border-box;
        .left-buttons-container {
            display: flex;
            flex-direction: row;
            gap: 14px;
        }
    }

    .footer-section {
        display: flex;
        align-items: center;
        gap: 4px;

        &--right {
            display: flex;
            align-items: center;
            gap: 16px;
        }
    }

    .version {
        font-size: 10px;
        padding-right: 12px;
        color: var(--text-subtle, rgba(201, 210, 210, 0.5));
    }

    .footer-notification {
        display: flex;
        align-items: center;
        gap: 4px;
        position: relative;

        .notification-label {
            user-select: none;
            -webkit-user-select: none;
            font-size: 12px;
            color: var(--text-subtle, rgba(201, 210, 210, 1));
            padding-left: 4px;
            padding-right: 4px;
        }

        .notifications-container {
            padding-left: 0;
            padding-top: 4px;
        }
    }
}

.system-info {
    display: grid;
    height: 100%;
    grid-template-columns: 340px 140px 140px;
    align-items: center;
    justify-items: start;

    @media (max-width: 1240px) {
        grid-template-columns: 120px 120px;
    }
}

.footer-badge {
    font-size: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
    font-family: typography.$roboto-mono-font-family;

    text-transform: uppercase;

    vertical-align: middle;
    color: var(--text-subtle, #c9d2d2);
}

.inactive {
    opacity: 0.5;
}

.warning {
    color: var(--feedback-warning-default, #c1ab15) !important;
}

.xl {
    @media (max-width: 1440px) {
        display: none;
    }
}

.lg {
    @media (max-width: 1240px) {
        display: none;
    }
}

.md {
    @media (max-width: 1080px) {
        display: none;
    }
}
