body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('/area_do_colaborador/marketing/p3/images/background_login.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 800px;
}

/* Ajustes para botão com estilo compartilhado */
.psw2,
.google_btn {
    border: none;
    padding: 12px 24px;
    font-size: 14.8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, font-size 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.psw2 {
    margin-left: 5px;
    background-color: #a1a1a1;
    color: white;
}

.google_btn {
    background-color: #4285F4;
    color: white;
    margin-right: 18px;
}

.google_btn img {
    margin-right: 10px;
}

.google_div {
    position: absolute;
}

table {
    margin-left: 17px;
    margin-right: 17px;
}

/* Modal (popup) para login */
.modal {
    color: #000000;
    display: block;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 100px;
}

.modal-content {
    position: fixed;
    background-color: rgb(243, 243, 243);
    padding: 20px;
    border: 1px solid #424242;
    max-width: 400px;
    min-width: 400px;
    height: 100%;
    margin-top: -100px;
    text-align: center;
    border: none;
    box-shadow: 1px -20px 50px 10px rgba(0, 0, 0, 0.7);
}

.log-soap {
    text-align: left;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Campos de entrada */
input[type="text"],
input[type="password"] {
    padding: 12px 20px;
    margin: 8px 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
    width: 90%;
    border-radius: 4px;
}

/* Botões de login e cancelar */
#button_login,
#button_cancel {
    color: white;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    width: 90%;
}

#button_login {
    background-color: #04AA6D;
}

#button_cancel {
    background-color: #aa4604;
}

button:hover {
    opacity: 0.8;
}

/* Botão cancelar */
.cancelbtn {
    padding: 10px 20px;
    background-color: #f44336;
    width: 100%;
    border-radius: 4px;
}

/* Texto "Esqueceu a senha?" */
span.psw {
    float: right;
    padding-top: 16px;
    margin-right: 20px;
}

.g-recaptcha {
    align-content: center;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        text-align: center;
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .modal-content {
        background-color: rgba(243, 243, 243, 0.7);
        width: 100%;
        max-width: 100%;
    }

    .background {
        margin-top: -99px;
        margin-left: 0px;
        background-position-x: center;
    }

    form {
        margin-right: 40px;
    }

    table {
        min-width: 300px;
        width: 100%;
    }

    .psw2 {
        margin-left: 80px;
    }

    .google_btn {
        margin-left: 10px;
        margin-right: 13px;
    }
}

@media (max-width: 450px) {
    .login-container {
        flex-direction: column;
        align-items: center;
    }

    .menu {
        text-align: center;
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .modal-content {
        background-color: rgba(243, 243, 243, 0.8);
        width: 100%;
        max-width: 100%;
    }

    .background {
        margin-top: -55px;
        margin-left: 0px;
        background-position-x: center;
    }

    th {

        min-width: 30px;
        max-width: 30px;
    }

    table {
        width: 90%;
    }

    .login-container {
        min-width: 300px;
        max-width: 500px;
        min-height: 650px;
        max-height: 650px;
    }

    .psw2 {
        margin-left: 10px;
        width: +140px;
    }

    .google_btn {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media (max-width: 850px) and (orientation: Landscape) {
    .modal-content {
        padding: 0;
    }

    .landscape-hidden {
        display: none;
    }

    .login-container {
        display: inline-flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        min-width: 100%;
        max-width: 100%;
        min-height: 100%;
        max-height: 100%;
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: space-evenly;
        justify-items: stretch;
        align-content: space-around;
        align-items: stretch;
    }

    .menu {
        text-align: center;
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .modal-content {
        background-color: rgba(243, 243, 243, 0.8);
        width: 100%;
        max-width: 100%;

    }

    .background {
        margin-top: -55px;
        margin-left: 0px;
        background-position-x: center;
    }

    .modal-content input {
        font-size: 10px;
        max-width: 80%;
        max-height: 30px;
    }

    .modal-content button {
        font-size: 12px;
        max-height: 30px;
    }
    .psw2,
    .google_btn{
        min-height: 100px;
        margin: 0;
    }
}