body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 1rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*main {
    padding: 2rem;
    text-align: center;
	margin-bottom: 75px;
}*/

.instructions {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    color: #333;
    text-align: center;
}

.instructions h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #007bff;
}

.instructions ol {
    list-style: none; /* Removes the default numbering style */
    padding-left: 0; /* Removes default padding */
    margin: 0 auto; /* Centers the list */
    display: inline-block; /* Allows the list to behave like a block for centering */
	counter-reset: item; /* Initializes the custom numbering counter */
}

.instructions ol li {
    position: relative; /* Allows positioning of numbers */
    margin-bottom: 6px;
    padding-left: 30px; /* Creates space for the custom numbers */
    text-align: center; /* Centers the text within the list item */
    width: 90%; /* Ensures consistent width for each list item */
}

.instructions ol li::before {
    content: counter(item) ". "; /* Adds custom numbering */
    counter-increment: item; /* Increments the counter for each item */
    position: absolute; /* Positions the number absolutely */
    left: 0; /* Aligns the number to the left of the list item */
    text-align: right; /* Aligns the number text to the right */
    width: 25px; /* Sets a fixed width for the number container */
}

.note {
	font-size: smaller;
    color: darkred;
}
.toggle-info {
    display: inline-block;
    margin-top: 5px;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.toggle-info:hover {
    text-decoration: underline;
}

.info-list {
    margin-top: 10px;
    list-style: decimal inside;
}

main {
    padding: 2rem;
    text-align: center;
	margin-bottom: 75px;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Three columns: left, center, right */
    min-height: 100vh; /* Ensures the layout fills the entire viewport height */
    background-color: #f4f4f9; /* Light background for the side columns */
}

.container {
    grid-column: 2; /* Places the content in the center column */
    width: 80%; /* Sets a specific width for the center column */
    max-width: 1200px; /* Ensures the center column doesn't get too wide */
    background: white; /* Background color for the center content */
    border: 1px solid #ddd; /* Optional border for visibility */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Adds inner spacing to the center column */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for visual separation */
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 1rem 0;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background: #0056b3;
}
/*Forms*/
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin: 0.5rem 0 0.25rem;
}

form input, form textarea, form button {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #0056b3;
}

.success {
    color: green;
}

.error {
    color: red;
}
/* General Styles for the Account Page */
#form-container {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

#form-container h2 {
    margin-bottom: 1rem;
}

#form-container form label {
    display: block;
    margin: 0.5rem 0 0.25rem;
}

/*#form-container form input, #form-container form button {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}*/

/* Password Container */
#form-container .password-container {
    position: relative;
    width: auto; /* Allow password input to take its natural width */
}

#form-container .password-container button {
    background: #007BFF;
    border: none;
    cursor: pointer;
	width: 8%;
}

/* Remember Me Checkbox */
#form-container label[for="remember"] {
    display: inline-block;
    margin-right: 10px;
}

#form-container input[type="checkbox"] {
    display: inline-block;
    width: 15px;
}

/* Apply width constraints to only form elements that need it */
#form-container form input, #form-container form button {
    width: 85%; /* Remove width 100% for form elements */
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#form-container form button {
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

#form-container form button:hover {
    background: #0056b3;
}

#form-container .error {
    color: red;
    margin-bottom: 1rem;
}

#form-container .success {
    color: green;
    margin-bottom: 1rem;
}

/* Additional Styling for the Toggle Links */
a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}