﻿/* ==============================
   Global Reset
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ==============================
   Page Background
================================ */
body {
    min-height: 100vh;
    background:
        radial-gradient(900px at 10% 10%, rgba(56,189,248,0.25), transparent),
        radial-gradient(900px at 90% 90%, rgba(99,102,241,0.25), transparent),
        linear-gradient(135deg, #020617, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==============================
   Layout Container
================================ */
.login-container {
    width: 100%;
    padding: 20px;
}

/* ==============================
   Login Card (Glassmorphism)
================================ */
.login-card {
    max-width: 520px;
    margin: auto;
    padding: 44px 145px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

/* ==============================
   Logo
================================ */
.logo img {
    width: 180px;
    margin-bottom: 18px;
}

/* ==============================
   Title
================================ */
.login-card h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 36px;
}

/* ==============================
   Input Group
================================ */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

/* ==============================
   ASP.NET TextBox Style
================================ */
.neo-input {
    width: 100%;
    padding: 17px 15px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

/* Placeholder hidden for floating label */
.neo-input::placeholder {
    color: transparent;
}

/* Focus */
.neo-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
    background: rgba(255, 255, 255, 0.14);
}

/* ==============================
   Floating Labels
================================ */
.input-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Float label */
.neo-input:focus + label,
.neo-input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: #38bdf8;
    background: #020617;
    padding: 0 6px;
}

/* ==============================
   Submit Button
================================ */
.login-btn {
    width: 100%;
    padding: 16px;
    margin-top: 6px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover */
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(56, 189, 248, 0.45);
}

/* ==============================
   Footer Text
================================ */
.not-user {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.not-user a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
}

.not-user a:hover {
    text-decoration: underline;
}

/* ==============================
   Responsive
================================ */
@media (max-width: 480px) {
    .login-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .logo img {
        width: 78px;
    }

    .login-card h2 {
        font-size: 22px;
    }
}
