body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

h1 {
    margin-bottom: 24px;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

input[type="email"], input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: block;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="email"]:focus, input[type="password"]:focus {
    border-color: #001E60;
    box-shadow: 0 0 8px rgba(0, 30, 96, 0.25);
}

.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
    color: #ffffff;
    background-color: #001E60;
    transition: background-color 0.3s, box-shadow 0.3s, text-decoration 0.3s;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.btn:hover {
    background-color: #001342;
    box-shadow: 0 4px 8px rgba(0, 19, 66, 0.2);
    text-decoration: underline;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #001E60;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-top: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: red;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

@media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }

    input[type="email"], input[type="password"] {
        padding: 12px;
        font-size: 14px;
    }

    .button-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-top: 10px;
    }
}

.btn:disabled,
.btn[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
}

.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none;
    color: #ffffff; /* Para garantir que o texto dos links fique visível em cinza */
}
