/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

p.success {
    color: green;
    text-align: center;
}

p.error {
    color: red;
    text-align: center;
}

/* Register Container */
.register-container {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
    width: 100%;
}

.register-image {
    flex: 1;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.register-image img {
    max-width: 100%;
    height: auto;
}

.register-form {
    flex: 1;
    padding: 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

button.btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        flex-direction: column;
    }

    .register-image {
        display: none;
    }

    .register-form {
        flex: 1;
        padding: 20px;
    }
}
