body {
    font-family: Arial, sans-serif;
    background: #ffffff; /* white background for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 350px;
    text-align: center;
}

.register-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    color: #555;
}

input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

button {
    width: 100%;
    padding: 0.8rem;
    background: #4a90e2;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.05rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

button:hover {
    background: #357abd;
}

.message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
}
.message p {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: bold;
}

.message.error p {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.success p {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
