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

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    background-image: radial-gradient(circle at top right, #e0f2fe 0%, transparent 40%),
                      radial-gradient(circle at bottom left, #f0fdfa 0%, transparent 40%);
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header div {
    color: #0f172a;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.header div span {
    color: #0ea5e9;
    font-weight: 400;
}

.header img {
    margin-top: 1.5rem;
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}

/* Centering wrapper if any */
.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    z-index: 10;
}

.login {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    width: 100%;
    text-align: center;
}

.login a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    margin: 1rem 0 0.5rem;
    transition: color 0.2s;
}

.login a:hover {
    color: #0284c7;
    text-decoration: underline;
}

.login form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login input[type=text],
.login input[type=number],
.login input[type=password] {
    width: 100%;
    box-sizing: border-box;
    padding: 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #334155;
}

.login input[type=text]:focus,
.login input[type=number]:focus,
.login input[type=password]:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px #e0f2fe;
    background: #fff;
}

.login input[type=submit] {
    width: 100%;
    padding: 1.1rem;
    background: #0ea5e9;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.2);
}

.login input[type=submit]:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.login input[type=submit]:active {
    transform: translateY(0);
}

/* Hide old background elements */
.body, .grad { 
    display: none; 
}