@charset "UTF-8";


/* Overall Form Container Styling    userLoginForm      */
.form-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    background:  #FDF6EC;
    border: 2px solid rgb(0, 139, 139); ; /* Blue border */
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    text-align: left; /* Align form content to the left */
}

/* Heading Styling */
h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center; 
    margin-bottom: 20px;
}

/* Form Group (Label + Input) Styling */
.form-group {
    display: flex; /* Align label and input on the same line */
    flex-wrap: wrap; /* Allows the content to wrap if space is not enough */
    margin-bottom: 15px;
    align-items: center; /* Vertically align label and input */
}

/* Label Styling */
label {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin-right: 10px; /* Space between label and input */
    flex: 0 0 150px; /* Set a fixed width for the label */
    white-space: nowrap; /* Prevent label text from wrapping */
}

/* Input Field Styling */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 160px); /* Make input fill the remaining space */
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    background-color: #f4f4f4;
    transition: all 0.3s ease;
}

/* Input Focus Effect */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    background-color: #eef6ff;
    border-color: #1e60b8;
    box-shadow: 0 0 8px rgba(30, 96, 184, 0.4);
}



/* Simple Button */
button {
    width: 100%; /* Full width for better alignment */
    padding: 10px; /* Moderate padding */
    font-size: 1rem; /* Default font size */
    background-color: rgb(0, 139, 139); ; /* New blue background (rgb(0, 139, 139); ) */
    color: white; /* White text */
    border: 1px solid rgb(0, 139, 139); ; /* Matching border color */
    border-radius: 5px; /* Slightly rounded corners */
    font-weight: 400; /* Regular weight */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth transition for hover */
}

/* Button Hover Effect */
button:hover {
    background-color: #357ABD; /* Darker shade on hover */
    border-color: #357ABD; /* Matching border on hover */
}

/* Button Focus Effect */
button:focus {
    outline: none; /* Remove outline */
    border-color: #357ABD; /* Subtle border color on focus */
}








/* Footer (Registration Link) Styling */
.footer {
    margin-top: 20px;
    font-size: 1rem;
    color: #555;
    text-align: center;
}

.footer a {
    color: #1e60b8;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}




/* Form Header */
h2 {
    font-size: 1.8rem;
    color: rgb(0, 139, 139); ;
    text-align: center;
    margin-bottom: 20px;
}




hr {
    border: none;
    height: 1px; /* Adjust thickness */
    background-color: rgb(0, 139, 139); ; /* Apply the blue color */
    margin: 20px 0; /* Adjust spacing */
}


/* 🌟 Label Styling */
label {
    font-size: 1.1rem;
    color: rgb(0, 139, 139); ; /* Change label text color to rgb(0, 139, 139);   */
    font-weight: 500;
    margin-right: 10px; /* Space between label and input */
    flex: 0 0 120px; /* Fixed width for the label */
    white-space: nowrap; /* Prevent label text from wrapping */
    
}


.error-message { 
        color: red;
        font-size: 0.900em;
        margin-top: 5px;
    }