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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.language-pill-switch {
    display: inline-flex;
    align-items: center;
    background: #ffffff; /* pure white */
    border-radius: 999px;
    padding: 4px;
    border: 1px solid #e5e7eb; /* subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10); /* stronger shadow */
    gap: 4px;
    backdrop-filter: blur(6px);
}

    .language-pill-switch form {
        margin: 0;
    }

.lang-pill {
    border: none;
    background: transparent;
    color: #341B4A;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .lang-pill:hover {
        background: rgba(154, 81, 219, 0.12);
    }

    /* ACTIVE BUTTON */
    .lang-pill.active {
        background: linear-gradient(135deg, #341B4A, #9A51DB);
        color: #ffffff;
        box-shadow: 0 3px 8px rgba(52, 27, 74, 0.30);
    }

.btn-loading {
    position: relative;
    pointer-events: none !important;
    opacity: 0.7;
}

    .btn-loading .btn-spinner {
        width: 14px;
        height: 14px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
        animation: btn-spin 0.6s linear infinite;
        vertical-align: middle;
    }

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}