html, body {
    padding: 0;
    height: 100%;
}

body {
    position: relative;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    
    background: url('/indeximate-cable-bg.png') center center / contain no-repeat;
    background-color: #ffffff; /* matches the white area of the image */
}

.login {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 500px;
    height: 400px;
    background: rgb(255 255 255);
    border: 0 solid transparent;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: -200px 0 0 -250px;
    padding: 40px;
    font-size: 16px;
    line-height: 16px;
    outline: none; /* Not supported by Chrome 71, Edge 18, Firefox 64, Opera 57, Safari 12 */
    box-sizing: border-box;
}

.login input {
    display: block;
    padding: 10px 20px;
    margin: 0 0 3px 0;
    font-size: 16px;
    line-height: 16px;
    width: calc(100% - 40px);
    background-color: rgb(255 255 255);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.login label {
    display: block;
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 12px;
    width: calc(100% - 20px);
    color: rgba(0, 0, 0, 0.5);
}

.login button {
    display: block;
    margin: 20px 0 0 0;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 16px;
    float: right;
    /* background-color: #fff; */
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 5px;
}

.login a {
    display: inline;
    color: rgba(0, 0, 0, 0.5);
    padding: 5px 0;
    text-decoration: none;
    font-size: 12px;
    line-height: 12px;
    margin: 0;
}


/* Login button and information label div */
.inline-container {
    display: flex; /* Activates Flexbox to place items inline */
    align-items: center; /* Vertically aligns the label and button in the middle */
    gap: 15px; /* Adds space between the label and the button. Not supported by IE 11 */
    justify-content: center; /* Justify the content so they align center */
}

/* Label Styling (Informative Color and Size) */
.inline-container label {
    margin: 20px 0 0 0;
    padding: 10px 20px;
    flex-basis: 80%; /* Label now takes up 80% of the container width */
    text-align: center;
    font-size: 16px; /* Set font size to 12px as requested */
    color: rgb(193 13 66); /* Informative blue color */
    font-weight: 600; /* Make text slightly bolder for better readability at a small size */
}

/* Button Styling (Touch and Feel) */
.inline-container button {
    flex-shrink: 0; /* Prevents the button from shrinking, allowing the label to dominate */
    cursor: pointer;

    /* Touch and Feel: Smooth transitions and initial shadow */
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button Hover State */
.inline-container button:hover {
    background-color: rgb(196 197 200); /* Darker blue on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Deeper shadow */
    transform: translateY(-1px); /* Subtle lift effect */
}

/* Close Icon */
.close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: rgb(136 136 136);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.close-icon:hover {
    color: rgb(0 0 0);
}

.indxmte-curved-button {
    display: block;
    margin: 20px auto;
    /* Curve edges */
    border-radius: 8px;
    background-color: rgb(240 240 240);
    border: 1px solid rgb(0 0 0);

    padding: 10px 20px;
    color: rgb(51 51 51); /* Darker text for readability */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Information link */
.information {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: rgb(240, 240, 240);
    border: 0 solid transparent;
    padding: 44px;
    outline: none; /* Not supported by Chrome 71, Edge 18, Firefox 64, Opera 57, Safari 12 */
    box-sizing: border-box;
}

.information a {
    display: inline;
    color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    text-decoration: none;
    font-size: 12px;
    line-height: 12px;
    margin: 0;
}

.information p {
    display: inline;
    color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    float: right;
    font-size: 12px;
    line-height: 12px;
    margin: 0;
}

/* * Full-screen overlay container
 * This uses 'fixed' position to cover the whole viewport.
 */
.div-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    display: flex; /* Display as flex to center the content */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* * MFA content box
 * Styles the inner box with the requested white background and grey text/button.
 */
.div-content {
    background-color: rgb(255 255 255); /* White background */
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: rgb(68 68 68); /* Dark grey text */
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.div-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Options: cover, contain, fill, etc. Not supported by Edge 18, IE 11 */
}

h2 {
    color: rgb(51 51 51); /* Slightly darker header */
    margin-bottom: 20px;
}

/* MFA input field styling */
#mfa-code {
    padding: 12px 10px;
    border: 1px solid rgb(204 204 204);
    border-radius: 8px;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 5px;
    width: 180px;
    display: block; /* Takes up full line */
    margin: 15px auto;
}

/* MFA button styling (using grey) */
.mfa-button {
    background-color: rgb(108 117 125); /* Grey button */
    color: rgb(255 255 255);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-weight: bold;
    text-transform: uppercase;
}

.mfa-button:hover {
    background-color: rgb(90 98 104);
    transform: translateY(-1px);
}

/* Hide button for demonstration */
#hide-button {
    margin-top: 20px;
    background-color: rgb(220 53 69);
    padding: 8px 15px;
}