html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.salt-embedded #mainHeader {
    display: none !important;
}

/* Full-height shell for portal layout */

/* Saltshaker landing badge */
.ss-badge {
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.06);
    color: #0b5ed7;
    user-select: none;
}

.ss-badge-container {
    /* no flex needed; let the badge center itself */
}

.ss-badge__text {
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 0.95rem;
    line-height: 1;
}

.ss-badge__pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    color: #ffffff;
    background: #0d6efd;
    line-height: 1;
}

.ss-badge__icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    flex-shrink: 0;
    display: flex;
}

.ss-badge__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*discord css*/
/* Discord attention nudge */
.external-link--discord {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-top: 3px;
}

/* Optional: slightly stronger hover */
.footer-icon:hover {
    opacity: 0.95 !important;
}
/* Attention state toggled by JS */
.external-link--discord.is-attention .footer-icon--discord {
    animation: ss-shake 650ms ease-in-out 0s 3;
}

/* Soft pulse ring behind the icon */
.external-link--discord.is-attention::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 2px solid currentColor;
    opacity: 0.35;
    animation: ss-pulse 1.2s ease-out 0s 3;
    pointer-events: none;
}

/* Keyframes */
@keyframes ss-shake {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    15% {
        transform: translateX(-2px) rotate(-2deg);
    }

    30% {
        transform: translateX(3px) rotate(2deg);
    }

    45% {
        transform: translateX(-3px) rotate(-2deg);
    }

    60% {
        transform: translateX(2px) rotate(1deg);
    }

    75% {
        transform: translateX(-1px) rotate(-1deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes ss-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.35;
    }

    70% {
        transform: scale(1.15);
        opacity: 0.12;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .external-link--discord.is-attention .footer-icon--discord,
    .external-link--discord.is-attention::before {
        animation: none !important;
    }
}

