* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
}

body {
    background-color: #f5f6fa;
    color: #2d3436;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2d3436;
    padding: 1rem 0;
    position: relative;
}

h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #6c5ce7, #a363d9);
    border-radius: 2px;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

#loginForm div {
    margin-bottom: 1.5rem;
}

#loginForm label {
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 0.5rem;
    display: block;
}

#loginForm input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#loginForm input:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.submit-button {
    width: 100%;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #6c5ce7, #a363d9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.register-button {
    width: 100%;
    padding: 0.75rem 2rem;
    background: #ffffff;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover, .register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

@media (prefers-reduced-motion: reduce) {
    #loginForm input,
    .submit-button,
    .register-button {
        transition: none;
    }
}

:focus-visible {
    outline: 3px solid #6c5ce7;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .container {
        padding: 1.5rem;
    }
}