body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    font-family: Arial, sans-serif;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s;
}

label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #999;
    transition: 0.3s;
    pointer-events: none;
}

input:focus + label,
input:valid + label {
    top: -20px;
    color: #2193b0;
    font-size: 0.8rem;
}

input:focus {
    border-bottom-color: #2193b0;
}

button {
    width: 100%;
    padding: 12px;
    background: #2193b0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #1b7a8f;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #2193b0;
    border-bottom: 2px solid #2193b0;
    margin-bottom: -2px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}