/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #a0b8c7;
    margin: 0px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
}

/* Container for the login form */
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%; /* Adjusted width to be smaller */
    max-width: 300px; /* Set a max width to keep the container smaller */
    text-align: center;
    margin: 20px 0 auto; /* Center the container */
}

/* Heading styling */
h2 {
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

/* Alert box for errors */
.alert {
    background-color: #ffdddd;
    border-left: 6px solid #f44336;
    color: #a94442;
    padding: 10px;
    margin-bottom: 15px;
    text-align: left;
}

/* Form field styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

input {
    width: 90%;
    padding: 10px;
    border-radius: 1px;
    border: 1px solid #ccc;
    font-size: 16px;
}

input:focus {
    outline: none; /* Remove default outline */
    border-color: #027cd6; /* Change border color on focus */
}

/* Button styling */
button {
    background-color: #027cd6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 16px;
    width: 80%;
}

button:hover {
    background-color: #025b9b;
}

 .icon {
            color: #333;  
            position: absolute;
            margin-left: 5px;  
            margin-top: 0px;  
        }
        
        .form-group {
            position: relative;  
        }

        .form-control {
            padding-left: 20px; 
        }

/* Register link */
p a {
    color: #027cd6;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
