body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh;
    margin: 0;
}

/* Container for Login Form */
.register-container {
    background-color: white;
    padding: 25px 30px; /* Adjusted padding */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 350px;
    text-align: center; /* Center text by default */
}

/* Heading inside the form */
.register-container h2 {
    text-align: center;
    margin-bottom: 25px; /* Increased margin */
    color: #333;
    font-size: 1.6rem;
}

/* Form Elements Styling */
.form-group {
    margin-bottom: 20px; /* Increased margin */
    text-align: left; /* Align labels and inputs to the left */
}

/* Label styling */
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

/* Input fields for Username and Password */
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px; /* Increased padding */
    border: 1px solid #ccc; /* Slightly darker border */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.95rem;
}

/* Submit button styling */
.register-container button[type="submit"] {
    background-color: #007bff; 
    color: white;
    padding: 12px 15px; /* Increased padding */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 15px; /* Adjusted margin */
    font-size: 1rem;
    font-weight: bold;
}

/* Button hover effect */
.register-container button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Feedback/Error message styling */
.register-container p#message {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: red; /* Default color for errors */
    font-weight: bold;
    min-height: 1.2em; /* Reserve space for consistent layout */
}

/* Additional Paragraph & Link Styling */
.register-container p {
    text-align: center;
    margin-top: 20px; /* Adjusted margin */
    font-size: 0.9rem;
    color: #555;
}

/* Link styling */
.register-container a {
    color: #007bff;
    text-decoration: none;
}

.register-container a:hover {
    text-decoration: underline;
}