@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f172a;
    --card: #111827;

    --cyan: #00f7ff;
    --pink: #ff00aa;

    --white: #ffffff;
    --muted: #94a3b8;
}

body {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--bg);

    color: var(--white);

    font-family: 'Poppins', sans-serif;

    overflow: hidden;
}


/* ================= BACKGROUND ================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(0, 247, 255, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(255, 0, 170, 0.07),
            transparent 30%
        );

    pointer-events: none;
}

.glow {
    position: fixed;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.12;

    pointer-events: none;
}

.glow-one {
    background: var(--cyan);

    top: -200px;
    left: -150px;
}

.glow-two {
    background: var(--pink);

    bottom: -200px;
    right: -150px;
}


/* ================= LOGIN BOX ================= */

.login-box {

    width: 400px;

    padding: 45px 40px;

    background: rgba(17, 24, 39, 0.88);

    border: 1px solid rgba(0, 247, 255, 0.3);

    border-radius: 22px;

    text-align: center;

    position: relative;

    z-index: 2;

    backdrop-filter: blur(15px);

    box-shadow:
        0 0 25px rgba(0, 247, 255, 0.08),
        inset 0 0 25px rgba(0, 247, 255, 0.02);

    animation: boxAppear 0.7s ease;
}

@keyframes boxAppear {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ================= PROFILE ================= */

.profile img {

    width: 95px;
    height: 95px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--cyan);

    box-shadow:
        0 0 15px rgba(0, 247, 255, 0.5),
        0 0 35px rgba(0, 247, 255, 0.15);

    margin-bottom: 20px;
}


/* ================= TITLE ================= */

h1 {

    font-size: 28px;

    font-weight: 600;

    margin-bottom: 7px;
}

h1 span {

    color: var(--cyan);

    text-shadow:
        0 0 10px rgba(0, 247, 255, 0.35);
}

p {

    color: var(--muted);

    font-size: 14px;

    margin-bottom: 30px;
}


/* ================= INPUT ================= */

.input-group {

    margin-bottom: 15px;
}

input {

    width: 100%;

    padding: 14px 16px;

    border-radius: 10px;

    border: 1px solid rgba(0, 247, 255, 0.2);

    outline: none;

    background: rgba(30, 41, 59, 0.8);

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;

    transition: 0.3s;
}

input::placeholder {

    color: #64748b;
}

input:focus {

    border-color: var(--cyan);

    box-shadow:
        0 0 12px rgba(0, 247, 255, 0.18);
}


/* ================= BUTTON ================= */

button {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 10px;

    background: var(--cyan);

    color: #0f172a;

    font-family: 'Poppins', sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

button span {

    margin-left: 8px;

    font-size: 18px;
}

button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 0 15px rgba(0, 247, 255, 0.5),
        0 0 30px rgba(0, 247, 255, 0.15);
}


/* ================= ERROR ================= */

#error {

    min-height: 22px;

    margin-top: 15px;

    color: #ff4db8;

    font-size: 13px;
}


/* ================= BACK ================= */

.back {

    margin-top: 25px;
}

.back a {

    color: var(--muted);

    text-decoration: none;

    font-size: 13px;

    transition: 0.3s;
}

.back a:hover {

    color: var(--cyan);
}


/* ================= MOBILE ================= */

@media (max-width: 500px) {

    .login-box {

        width: 90%;

        padding: 35px 25px;
    }

    h1 {

        font-size: 24px;
    }

}


/* ================= SETTINGS FORM ================= */

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 700px;
}

.settings-form label {
    font-weight: 600;
    margin-top: 10px;
}

.settings-form input,
.settings-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #164e63;
    background: #0f172a;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
}

.settings-form textarea {
    min-height: 100px;
    resize: vertical;
}

.settings-form input:focus,
.settings-form textarea:focus {
    outline: none;
    border-color: #00e5ff;
}

.settings-form .primary-btn {
    width: fit-content;
    margin-top: 15px;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}