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

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

.register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #66cc66, #004d00);
}

.register-container {
    display: flex;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    gap: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 700px;
    position: relative;
}

.register-content {
    width: 60%;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
}

h2 {
    color: #004d00;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Input Fields */
.input-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #66cc66;
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #004d00;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #66cc66;
}

/* Error and Success Messages */
.error-message, .success-message {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

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

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

/* Quick Navigation on Right Side */
.quick-nav {
    width: 40%;
    text-align: left;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #f4f4f4;
    border-radius: 10px;
}

.quick-nav ul {
    list-style-type: none;
    padding: 0;
}

.quick-nav img {
    width: 100%;
    padding-bottom: 10px;
}

.quick-nav ul li {
    margin-bottom: 15px;
}

.quick-nav ul li a {
    color: #004d00;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.quick-nav ul li a i {
    font-size: 16px;
}

.quick-nav ul li a:hover {
    color: #66cc66;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        flex-direction: column;
        width: 90%;
    }

    .register-content, .quick-nav {
        width: 100%;
    }

    .quick-nav {
        padding-left: 0;
        text-align: center;
    }

    .quick-nav ul li {
        margin-bottom: 10px;
    }
}

/* Add some styling for the login  link */
.login-link {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.login-link a {
    color: #004d00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #66cc66;
}