:root {
    --gresham-light-orange: #FD9E4B;
    --gresham-med-orange: #FD714B;
    --gresham-dark-orange: #FD4D55;
    --gresham-regular-red: #E13761;
    --gresham-light-purple: #C1246B;
    --gresham-med-purple: #A11478;
    --gresham-dark-purple: #6D0D51;
}

body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.page-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.fixed-table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    overflow: hidden;
}

.fixed-table-wrapper {
    width: 600px; /* Fixed width for the table */
    height: 600px; /* Fixed height for the table */
    overflow: visible;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.fixed-table {
    width: 100%;
    height: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background-color: #ffffff;
    border: none;
}

.fixed-table th, .fixed-table td {
    padding: 0;
    border: none;
    background-color: #ffffff;
}

.logo-section {
    text-align: center;
    padding: 10px;
}

.logo {
    max-width: 70%;
    height: auto;
}

/* Ensure the container is positioned correctly */
.logo-policy-container {
    width: 100%;
    text-align: center; /* Center the logo horizontally */
    margin-top: 2%; /* Adjust top margin to suit your design */
}

/* Control the size of the logo */
.logo-policy {
    width: auto; /* Let width adjust automatically */
    height: 100px; /* Set a fixed height for the logo */
    max-width: 30%; /* Ensure the width does not exceed one-third of the page */
}

.logo-subtitle {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    #font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
}

.form-section {
    height: calc(100% - 120px); /* Adjust based on the height of the logo and forgot section */
    text-align: center; /* Center text horizontally */
}

.form-container {
    display: grid;
    grid-template-columns: max-content auto;
    justify-content: center;
    gap: 10px 20px; /* Space between labels and inputs */
    max-width: 300px;
    margin: auto;
}

.form-group {
    display: contents; /* Allow the label and input to align properly in the grid */
}

.form-group label {
    text-align: right;
    margin-right: 10px;
    align-self: center;
}

.form-group input {
    background-color: #ffffff; /* Ensure input fields have a white background */
    border: 1px solid #ddd; /* Light border for input fields */
    padding: 6px; /* Padding inside input fields */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    width: 100%;
    align-self: center;
}

.form-group button {
    grid-column: span 2; /* Make the button span both columns */
    width: 100%;
    margin-top: 10px;
}

.forgot-section {
    text-align: center;
    padding: 10px;
    position: relative;
}

.forgot-section hr {
    margin-bottom: 10px;
    border: none;
    border-top: 1px solid #ddd;
}

.forgot-button {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.footer-container {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

input[type="password"], input[type="text"] {
    font-size: 16px;
    font-family: Arial, sans-serif;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="password"].userpass-entry,
input[type="text"].userpass-entry {
    width: 140%;
}

.sms-entry {
    width: 150px;
}

input[type="submit"].button {
    font-size: 16px; /* Adjust the font size */
    font-family: Arial, sans-serif; /* Change the font family */
    font-weight: bold;
    padding: 10px 20px; /* Add padding for better appearance */
    width: 150px; /* Set a fixed width */
    background-color: var(--gresham-med-purple); /* Set background color */
    color: white; /* Set text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Add rounded corners */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s ease; /* Add transition for hover effect */
}

/* Hover effect for the submit button */
input[type="submit"].button:hover {
    background-color: var(--gresham-dark-purple); /* Darker background color on hover */
    /* background-color: #388E3C; */ /* Darker background color on hover */
}

a.reset-link {
    color: var(--gresham-med-purple); /* Set text color to black */
    /* color: black; */ /* Set text color to black */
    text-decoration: none; /* Remove underline */
    font-family: Arial, sans-serif; /* Change the font family */
    font-size: 16px; /* Adjust the font size */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Add transition for hover effect */
}

/* Hover effect for the reset password link */
a.reset-link:hover {
    color: var(--gresham-dark-purple);
    text-decoration: underline; /* Add underline on hover */
}

.policy-link {
    color: var(--gresham-med-purple);
    text-decoration: none;
}

.policy-link:hover {
    color: var(--gresham-dark-purple);
    text-decoration: underline;
}

@font-face {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    #font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: local('Raleway'), url('/woff/400.woff') format('woff');
}

@font-face {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    #font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: local('Raleway SemiBold'), local('Raleway-SemiBold'), url('/woff/700.woff') format('woff');
}

@font-face {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    #font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: local('Raleway Bold'), local('Raleway-Bold'), url('/woff/700.woff') format('woff');
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    background-color: #eeeeee;
}

.center-text {
    text-align: center;
}

.indented {
    padding-left: 30px;
}

.lineheight125 {
    line-height: 1.25;
}

.textaligncenter {
    text-align: center;
}

.error-text {
    color: #ff0000;
}

.success-text {
    color: #2e7d32;
}

.policy-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
}

/*
.login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
*/





/* Hide the default checkbox */
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid #d1d1d1;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
    vertical-align: middle; /* Align the custom checkbox with the text */
    margin-right: 8px; /* Add space between the checkbox and label text */
}

/* Create the checkmark */
.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Show the checkmark when the checkbox is checked */
input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
}

/* Change background color when the checkbox is checked */
input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #1D76BB;
    border-color: #1D76BB;
}

/* Add a hover effect */
.custom-checkbox:hover {
    background-color: #e0e0e0;
    border-color: #b1b1b1;
}

/* Ensure the label text is aligned properly */
label {
    display: flex;
    align-items: center;
    padding-left: 16px; /* Add space to the left of the checkbox and label */
}


