*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #030303;
    color: #e0e0e0;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

@keyframes move-twink-back {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}
.stars, .twinkling {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; display: block;
    z-index: -1;
}
.stars {
    background: #000 url(https://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
}
.twinkling {
    background: transparent url(https://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
    animation: move-twink-back 200s linear infinite;
}

.login-container {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

/* Find and  this entire rule in login/login-style.css */
.login-form {
    width: 100%;
    max-width: 420px; /* Slightly wider */
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2.5rem; /* Adjusted padding */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 1.8rem; /* INCREASED GAP for more space */
    
    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.2s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.form-header h1 {
    font-size: 1.2rem;
    font-weight: 300;
    color: #a0a0a0;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.input-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #8A2BE2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.login-button {
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: linear-gradient(90deg, #8A2BE2 0%, #4A00E0 100%);
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #ffffff;
}