* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e3a8a,
            #2563eb,
            #38bdf8
        );

    background-size: 400% 400%;

    animation: gradientMove 14s ease infinite;
}

@keyframes gradientMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body::before,
body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
}

body::before {
    width: 320px;
    height: 320px;
    background: #60a5fa;
    top: -100px;
    left: -100px;
}

body::after {
    width: 280px;
    height: 280px;
    background: #38bdf8;
    bottom: -80px;
    right: -80px;
}

.login-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 410px;

    padding: 38px 34px;

    border-radius: 28px;

    background: rgba(255,255,255,0.14);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.15);

    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.login-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;

    border-radius: 22px;
    padding: 10px;

    background: rgba(255,255,255,0.15);

    border: 1px solid rgba(255,255,255,0.2);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.login-container h2 {
    margin: 0;
    text-align: center;

    color: #ffffff;

    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.description {
    text-align: center;

    color: rgba(255,255,255,0.82);

    font-size: 0.88rem;
    line-height: 1.5;

    margin-top: 10px;
    margin-bottom: 24px;
}

.login-container label {
    display: block;

    margin-bottom: 7px;

    color: rgba(255,255,255,0.78);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.login-container input {
    width: 100%;

    padding: 14px 15px;
    margin-bottom: 16px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.12);

    color: #fff;

    font-size: 0.92rem;

    transition: all 0.25s ease;
}

.login-container input::placeholder {
    color: rgba(255,255,255,0.55);
}

.login-container input:focus {
    outline: none;

    border-color: rgba(255,255,255,0.45);

    background: rgba(255,255,255,0.16);

    box-shadow:
        0 0 0 4px rgba(255,255,255,0.08),
        0 10px 20px rgba(0,0,0,0.08);
}

.login-container button {
    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    color: #fff;

    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow:
        0 10px 25px rgba(37,99,235,0.35);
}

.login-container button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px rgba(37,99,235,0.45);
}

.error {
    background: rgba(239,68,68,0.14);

    border: 1px solid rgba(239,68,68,0.28);

    color: #fff;

    padding: 12px;

    border-radius: 12px;

    text-align: center;

    margin-bottom: 16px;

    font-size: 0.84rem;
}

.divider {
    position: relative;

    text-align: center;

    margin: 20px 0;

    color: rgba(255,255,255,0.6);

    font-size: 0.72rem;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: "";

    position: absolute;
    top: 50%;

    width: 40%;
    height: 1px;

    background: rgba(255,255,255,0.15);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px;

    border-radius: 14px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.15);

    color: #fff;

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;

    transition: all 0.25s ease;
}

.google-btn:hover {
    background: rgba(255,255,255,0.18);

    transform: translateY(-1px);
}

.google-icon {
    width: 18px;
    height: 18px;

    object-fit: contain;
}

@media (max-width: 480px) {

    .login-container {
        width: 92%;
        padding: 30px 22px;
        border-radius: 22px;
    }

    .login-container h2 {
        font-size: 1.55rem;
    }

    .login-logo {
        width: 120px;
        height: 120px;
    }
}