/* General styling for body and container */
body {
    font-family: Arial, sans-serif;
    background-color: gray;
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background-color: #173f20;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

h2 {
    text-align: center;
    color: #fff;
}

form {
    display: block;
    width: 98%;
    padding: 0px;
    margin: 10px 0px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group {
    margin-bottom: 30px;
}

label {
    margin-bottom: 5px;
    color: #d3d3d3;
}

/* Input fields styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select { 
    width: 100%;
    padding: 12px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 16px; /* Corrected font size */
}

select {
    background-color: #fff;
    color: #333;
    font-size: 16px;
}

/* Focus styles */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: #45a049;
}

/* Submit button styling */
input[type="submit"] {
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: blue;
}

/* Text button styling */
.text-button {
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.text-button:hover {
    text-decoration: underline;
}

a {
    color: #4caf50;
}

/* Password field styling */
.password-container {
    position: relative;
}

input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    form {
        width: 100%;
    }

    h2 {
        font-size: 1.2rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="submit"],
    select {
        font-size: 14px;
        padding: 10px;
    }

    .text-button {
        font-size: 16px;
    }
}
