body{
    height: 100vh;
    bottom: 0;
}

main{
    align-items: center;
    justify-content: center;
    min-height: 100% !important;
}

.asteriskField {
    color: red;
}

.btn-success{
    background-color: #006633 !important;
}
.mlogin-container {
    backdrop-filter: blur(25px);
}

.login-title {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background-color: #adadad;
    border-radius: 0 0 20px 20px;
}
.login-win{
    align-items: center;
    width: 300px;
}

.in-keyboard {
    backdrop-filter: blur(25px)
}
.virtual-keyboard {
    padding: 20px;
    border-radius: 8px;
    min-width: 600px;
  }
  .keyboard-row {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }
  .key {
    width: 65px;
    height: 65px;
    margin: 4px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background-color: white;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
  }
  .key:hover {
    background-color: #e6e6e6;
    transform: scale(1.05);
  }
  .key:active {
    background-color: #d4d4d4;
    transform: scale(0.95);
  }
  .backspace {
    width: 80px;
  }
  .space {
    width: 160px;
  }
  .caps {
    width: 90px;
  }
  .clear {
    width: 90px;
  }
  .caps.active {
    background-color: #90EE90;
  }
.clear.active {
    background-color: #FF6347;
}
.login-form {
    width: 300px;
    margin: 0 auto;
    padding: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    padding-top: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #198754 !important;
}

.btn-submit {
    padding-top: 10px;
    background-color: #006633;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #4CAF50;
}

.errorlist li{
    list-style-type: none;
    padding: 0;
    color: red;
    font-size: 0.8rem !important;
}

.error{
    border: 1px solid red !important;
}
li{
    list-style: none;
}

a{
    text-decoration: none !important;
    text-align: center;
}


.my-form-fields input[type="checkbox"] {
    display: inline-block; 
    vertical-align: middle; 
}

.my-form-fields:has(input[type="checkbox"]){
    border: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    margin: 0 0.5rem;

}


.my-form-fields label {
    display: inline-block; 
    vertical-align: middle; 
    margin-bottom: 0; 
}

.my-form-fields:has(input[type="checkbox"]:checked){
    font-weight: bold;
    color: #ffffff !important;
    background: #888888;
    box-shadow: #ccc;
}

.my-form-fields input[type="checkbox"]:checked + label:after {
    content: ' - checked'; 
}


.my-form-container{
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 0.25rem !important;
    justify-content: space-between;
    width: 100%;
}
.my-form-fields{
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}


@media (max-width: 576px) {
    .my-form-fields{
        flex: 0 0 calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
    }
    
    .virtual-keyboard {
        min-width: 100%;
        padding: 15px;
    }
    
    .key {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin: 2px;
    }
    
    .backspace {
        width: 60px;
    }
    
    .space {
        width: 120px;
    }
    
    .caps, .clear {
        width: 70px;
    }
  }

  @media (max-width: 768px) {

    .my-form-fields{
        flex: 0 0 calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
    }
    
    .virtual-keyboard {
        min-width: 100%;
        padding: 18px;
    }
    
    .key {
        width: 55px;
        height: 55px;
        font-size: 20px;
        margin: 3px;
    }
    
    .backspace {
        width: 70px;
    }
    
    .space {
        width: 140px;
    }
    
    .caps, .clear {
        width: 80px;
    }
  }