* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.signup-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #8d4cf6;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

input {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #f0f2f5;
    border-radius: 4px;
    font-size: 16px;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(141, 76, 246, 0.3);
}

button {
    width: 100%;
    padding: 12px;
    background-color: #8d4cf6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #7a35e5;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #888;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 15px;
}

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #555;
}

.login-link a {
    color: #8d4cf6;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 10px;
}

.error-text {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

input.error {
    border: 1px solid #dc3545;
}