@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');

:root {
    --bg: #0b0b0f;
    --card: #0f1115;
    --neon1: #ff005c;
    /* pink/red */
    --neon2: #8a2be2;
    /* purple */
    --neon3: #00ffee;

    --accent: #00ffe1;
    /* cyan */
    --muted: #d0d6dc;
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(138, 43, 226, 0.08), transparent 8%),
        radial-gradient(900px 400px at 90% 90%, rgba(255, 0, 92, 0.06), transparent 8%),
        var(--bg);
    color: #e6eef6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.black-ops-one-regular {
    font-family: "Black Ops One", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
}

.black-ops-one-bold {
    font-family: "Black Ops One", system-ui;
    font-weight: bold;
    letter-spacing: 2px;
    font-style: normal;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    margin: 12px 0;
    border-radius: 2px
}

.btn {
    padding: 12px 16px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(90deg, var(--neon2), var(--neon1));
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.12), 0 0 30px rgba(255, 0, 92, 0.08) inset;
    transition: transform .12s ease, filter .12s ease;
}

.btn:active {
    transform: translateY(1px)
}


.form-box,
.form-box form {
    display: flex;
    flex-direction: column;
    gap: 14px
}

label {
    font-size: 13px;
    color: var(--muted)
}

.input-row {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.input , select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
    color: inherit;
    outline: none;
    font-size: 15px;
    transition: box-shadow .15s ease, transform .08s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.28)
}

input:focus {
    box-shadow: 0 0 18px rgba(138, 43, 226, 0.12), 0 0 8px rgba(255, 0, 92, 0.08);
    border-color: rgba(138, 43, 226, 0.28);
    transform: translateY(-1px);
}

/* From Uiverse.io by mobinkakei */
.toggler {
    width: auto;
    margin: auto 0;
}

.toggler input {
    display: none;
}

.toggler label {
    display: block;
    position: relative;
    width: 58px;
    height: 26px;
    border: 1px solid white;
    border-radius: 36px;
    background: var(--glass);
    cursor: pointer;
}

.toggler label::after {
    display: block;
    border-radius: 100%;
    background-color: #d7062a;
    content: '';
    animation-name: toggler-size;
    animation-duration: 0.15s;
    animation-timing-function: ease-out;
    animation-direction: forwards;
    animation-iteration-count: 1;
    animation-play-state: running;
}

.toggler label::after,
.toggler label .toggler-on,
.toggler label .toggler-off {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%) translateX(-50%);
    transition: left 0.15s ease-in-out, background-color 0.2s ease-out, width 0.15s ease-in-out, height 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.toggler input:checked+label::after,
.toggler input:checked+label .toggler-on,
.toggler input:checked+label .toggler-off {
    left: 75%;
}

.toggler input:checked+label::after {
    background-color: #50ac5d;
    animation-name: toggler-size2;
}

.toggler .toggler-on,
.toggler .toggler-off {
    opacity: 1;
    z-index: 2;
}

.toggler input:checked+label .toggler-off,
.toggler input:not(:checked)+label .toggler-on {
    width: 0;
    height: 0;
    opacity: 0;
}

.toggler .path {
    fill: none;
    stroke: #fefefe;
    stroke-width: 7px;
    stroke-linecap: round;
    stroke-miterlimit: 10;
}

@keyframes toggler-size {

    0%,
    100% {
        width: 26px;
        height: 26px;
    }

    50% {
        width: 20px;
        height: 20px;
    }
}

@keyframes toggler-size2 {

    0%,
    100% {
        width: 26px;
        height: 26px;
    }

    50% {
        width: 20px;
        height: 20px;
    }
}

.spin {
    display: inline-block;
    /* add this */
    animation: spin 2s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

