/* *******IMPORTANT: CHANGE VERSION ON serviceworker.js IF CHANGES ARE MADE ANYWHERE******* */
html, body{
    overscroll-behavior-x: none;
    overflow-wrap: break-word;
    height: 100%;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    min-height: 700px;
}

img {
    display: block;
    margin: 0 auto 25px;
    padding-top: 25px;
    width: 175px;
}

h1 {
    text-align: center;
    color: #333;
    margin: 0 30px;
}

form {
    max-width: 300px;
    max-height: 350px;
    margin: 20px auto;
    padding: 30px;
    padding-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

input[type="text"], input[type="password"]{
    width: calc(100% - 22px);
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.error {
    display: block;
    margin-top: 10px;
    color: red;
    text-align: center;
}

#signin {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

#signin:hover {
    background-color: #0056b3;
}

a {
    display: block;
    text-align: center;
    color: #007bff;
    text-decoration: none;
    margin: 20px 0;
    font-size: 1em;
}

a:hover {
    text-decoration: underline;
}

#delete{
    margin-top:20px;
    color: red;
}

#privacy{
    color: gray;
}
footer{
    width: 100%;
    position: absolute;
    bottom: 0;
}
#container {
    position: relative;
    height: 100vh;
    min-height: 750px;
  }

#loader {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.language-icon {
    position: absolute;
    top: 25px;
    left: 20px;
    cursor: pointer;
    height: 30px;
}
#help-icon {
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
    height: 30px;
    width: 30px;
    padding: 0;
}
#help{
    margin: 0;
}

#language{
    margin:0;
    padding:0;
}

#language-img{
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 375px) {
    form{
        margin: 20px 10px;
    }
}