body {
    background-color: #ffefd5;
    font-family: 'Arial', sans-serif;
    color: #333;
    position: relative;
}

.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
}

#show-register {
    position: relative;
    z-index: 2;
    /* Garantindo que o link esteja acima de qualquer outro elemento */
    display: inline-block;
    text-decoration: none;
}


.auth-container h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #f77f00;
}

.auth-container .form-control {
    border-radius: 20px;
    border: 1px solid #f77f00;
}

.auth-container .btn {
    border-radius: 20px;
    font-weight: bold;
}

.btn-primary {
    background-color: #f77f00;
    border: none;
}

.btn-primary:hover {
    background-color: #ff9f00;
}

.btn-success {
    background-color: #50c878;
    border: none;
}

.btn-success:hover {
    background-color: #66d7a3;
}

p.text-center a {
    color: #f77f00;
}

p.text-center a:hover {
    text-decoration: underline;
}

.auth-container.d-none {
    display: none !important;
}


.logo {
    max-width: 120px;
    margin: 20px auto;
    display: block;
    padding-bottom: 20px;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
    /* Isso vai garantir que o pseudo-elemento fique atrás dos outros elementos */
}


@media (max-width: 767px) {
    .auth-container {
        max-width: 90%;
        padding: 20px;
    }

    .logo {
        max-width: 100px;
    }
}

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}

.spinner {
    border: 4px solid #f77f00;
    border-top: 4px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#alert-message {
    position: fixed;
    bottom: 60px;
    /* Ajusta para ficar acima da navbar */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff5722;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1050;
    /* Garante que fique acima da navbar */
}


/* Centraliza verticalmente o modal */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

/* Estilização do conteúdo do modal */
.custom-modal {
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
    background-color: #ff9800;
    /* Laranja */
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.custom-modal-body {
    background-color: #fff3e0;
    /* Laranja bem claro */
    color: #333;
}

.custom-modal-footer {
    background-color: #fff3e0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Botão fechar do modal personalizado */
.custom-modal-header .btn-close {
    filter: invert(1);
}