﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    font-family: Arial, sans-serif;
}

.form-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 260px;
    margin: auto;
    text-align: center;
}

input[type=text], input[type=password] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

    input[type=submit]:hover {
        background-color: #45a049;
    }

.footer-text {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    color: #AAAAAA;
}

@media (max-width: 600px) {
    .form-container {
        padding: 20px;
        margin: 15px;
    }
}


.password-wrapper {
    position: relative;
}

.password-field {
    width: calc(100% - 40px); /* Adjust width to make space for the toggle button */
    padding: 10px;
    margin-bottom: 10px; /* Adjust as needed */
    border: 1px solid #ddd;
    border-radius: 5px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    height: 20px; /* or the size of your images */
    width: auto;
}

/* Ensuring the submit button does not overlap with the toggle password span */
input[type=submit] {
    margin-top: 20px;
}