
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-snap-type: both proximity;
    scroll-snap-align: center;
}

a {
    color: #4154f1;
    text-decoration: none;
}

    a:hover {
        color: #717ff5;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

    h1:focus {
        outline: none;
    }

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding: 65px 20px 0 100px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

code {
    color: #c02d76;
}

.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;
}

/* Loader Container (Independent of Layout) */
#loader-container {
    position: fixed; /* Stays in place even if the page scrolls */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 30px;
    filter: url(#liquid);
    z-index: 1000; /* Ensures it appears above everything */
    pointer-events: none; /* Prevents interaction with layout */
}

/* Loader Animation */
.loader span {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    display: block;
    box-shadow: 0 0 30px #009ad4;
    background: linear-gradient(#02edff, #009ad4);
    animation: animate-loader 5s ease-in-out infinite;
    animation-delay: calc(0.2s * var(--i));
}

@keyframes animate-loader {
    0% {
        left: 0;
    }

    25% {
        left: calc(100% - 30px);
    }

    50% {
        left: calc(100% - 30px);
    }

    75%, 100% {
        left: 0;
    }
}

svg {
    width: 0;
    height: 0;
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 30%;
}

    .btn-close:focus {
        outline: 0;
        box-shadow: none;
    }

.pointer {
    cursor: pointer;
}

.modal-fade {
    animation-name: fade-animation;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

@keyframes fade-animation {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}


dl {
    margin-top: 0;
    margin-bottom: 20px;
}

dl {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.dl-horizontal dt {
    float: left;
    width: 160px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dl-horizontal dd {
    padding-bottom: 7px;
}

.dl-horizontal dd {
    margin-left: 180px;
}

dt {
    font-weight: 700;
}

dt {
    display: block;
    unicode-bidi: isolate;
}

dd, dt {
    line-height: 1.42857143;
}


@font-face {
    font-family: NotoColorEmojiLimited;
    unicode-range: U+1F1E6-1F1FF;
    src: url(https://raw.githack.com/googlefonts/noto-emoji/main/fonts/NotoColorEmoji.ttf);
}

.country-flag {
    font-family: 'NotoColorEmojiLimited', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

.captcha-container {
    display: inline-block;
    padding: 10px;
    background: #f3f3f3;
    border: 2px solid #ccc;
    font-family: 'Arial', sans-serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 5px;
    text-align: center;
    position: relative;
    user-select: none;
    overflow: hidden;
    background-image: url("/images/captcha-bg.jpeg");
    offset-rotate: 95deg;
    border-radius:8px;
}

.captcha-text {
    display: inline-block;
    color: #333;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2), -2px -2px 2px rgba(255, 255, 255, 0.2);
    transform: rotate(calc(-15deg + 30deg * var(--rand))) skewX(10deg);
}