* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    font-family: Arial, sans-serif; 
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.box { 
    background: white; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 350px;
}

h1 { 
    text-align: center; 
    margin-bottom: 30px; 
    color: #333; 
}

input { 
    width: 100%; 
    padding: 12px; 
    margin: 10px 0; 
    border: 2px solid #ddd; 
    border-radius: 5px; 
    box-sizing: border-box;
    font-size: 16px;
}

input:focus { 
    outline: none; 
    border-color: #667eea; 
}

button { 
    width: 100%; 
    padding: 12px; 
    background: #667eea; 
    color: white; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 16px;
    margin-top: 10px;
}

button:hover { 
    background: #5568d3; 
}

button:disabled { 
    background: #ccc; 
    cursor: not-allowed; 
}

.msg { 
    padding: 12px; 
    margin: 15px 0; 
    border-radius: 5px; 
    display: none; 
    font-size: 14px; 
}

.success { 
    background: #d4edda; 
    color: #155724; 
}

.error { 
    background: #f8d7da; 
    color: #721c24; 
}

.tabs { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.tab { 
    flex: 1; 
    padding: 10px; 
    background: #f0f0f0; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
}

.tab.active { 
    background: #667eea; 
    color: white; 
}

.form { 
    display: none; 
}

.form.active { 
    display: block; 
}

a { 
    display: block; 
    text-align: center; 
    margin-top: 20px; 
    color: #667eea; 
    text-decoration: none; 
}