/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* Container for the Form */
.container2 {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    text-align: center;
}

h2 {
    margin-bottom: 10px;
    color: #333333;
}

p {
    margin: 10px 0 20px;
    color: #666666;
}

/* Form Elements */
label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
    font-weight: bold;
    color: #444444;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #28a745;
    outline: none;
}

/* Button Styling */
button.registerbtn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button.registerbtn:hover {
    background-color: #218838;
}

/* Terms and Privacy */
a {
    color: #28a745;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Login Link Section */
.login {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.login a {
    color: #28a745;
    font-weight: bold;
}

.login a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 500px) {
    .container2 {
        padding: 20px;
    }
}
