body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #cacaca 100%);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: gradientFade 1s ease-out forwards;
}

.login-container {
    width: 100%;
    max-width: 600px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    animation: loginScaleIn 0.6s ease-out forwards,
              loginFadeIn 0.5s ease-out forwards;
}

.login-title {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: loginFadeIn 0.6s ease-out 0.2s both;
}

.login-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.5;
    animation: loginFadeIn 0.6s ease-out 0.3s both;
}

.form-group {
    margin-bottom: 30px;
    animation: loginFadeIn 0.6s ease-out 0.4s both;
}

.input-group {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.input-group-addon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 18px;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 18px 50px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #2c3e50;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-control::placeholder {
    color: #bdc3c7;
}

.btn-primary {
    background-color: #00b894;
    border: none;
    color: white;
    padding: 18px;
    width: 100%;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary:hover {
    background-color: #00a383;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.copyright {
    margin-top: 30px;
    color: #95a5a6;
    font-size: 13px;
    animation: loginFadeIn 0.6s ease-out 0.5s both;
}

.register-link {
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
    animation: loginFadeIn 0.6s ease-out 0.4s both;
    text-align: left;
    width: 100%;
    display: block;
}

.register-link p {
    margin: 0;
    opacity: 0;
    animation: loginFadeIn 0.6s ease-out 0.5s forwards;
}

.register-link a {
    color: #00b894;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #00a383;
    text-decoration: underline;
}

/* Efeito hover nos inputs */
.form-control:hover {
    border-color: #bdc3c7;
}

/* Responsividade */
@media (max-width: 680px) {
    .login-container {
        margin: 15px;
    }
    
    .login-box {
        padding: 30px 20px;
        max-width: 90%;
    }

    .login-title {
        font-size: 28px;
    }

    .login-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .form-control {
        padding: 15px 45px;
        font-size: 15px;
    }

    .btn-primary {
        padding: 15px;
        font-size: 16px;
    }
}

/* Primeiro, definimos as keyframes da animação */
@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loginScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Opcional: adicionar uma animação suave ao background */
@keyframes gradientFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Novo estilo para o box de contato de registro */
.contact-info {
    background-color: #f8f9fa;
    border-left: 4px solid #00b894;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    text-align: left;
    animation: loginFadeIn 0.6s ease-out 0.4s both;
}

.contact-info h3 {
    color: #2c3e50;
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    color: #7f8c8d;
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.contact-list li i {
    color: #00b894;
    margin-right: 8px;
    font-size: 14px;
    width: 16px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-info .note {
    color: #95a5a6;
    font-size: 12px;
    margin-top: 8px;
    font-style: italic;
}

/* Estilos específicos para a página de registro */
.register-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;  /* Aumentado para página de registro */
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    animation: loginScaleIn 0.6s ease-out forwards,
              loginFadeIn 0.5s ease-out forwards;
}

.register-box .login-title {
    font-size: 32px;  /* Título maior para registro */
    margin-bottom: 25px;
}

.register-box .contact-info {
    background-color: #f8f9fa;
    border-left: 4px solid #00b894;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    text-align: left;
}

.register-box .contact-info h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 500;
    color: #2c3e50;
}

.register-box .contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.register-box .contact-list li {
    font-size: 16px;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.register-box .contact-list li:last-child {
    border-bottom: none;
}

.register-box .contact-list li i {
    font-size: 18px;
    margin-right: 15px;
    width: 20px;
    color: #00b894;
}

.register-box .note {
    font-size: 14px;
    margin-top: 15px;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 6px;
    color: #666;
}

/* Responsividade específica para registro */
@media (max-width: 680px) {
    .register-box {
        max-width: 90%;
        padding: 30px 20px;
        margin: 15px;
    }

    .register-box .contact-info {
        padding: 20px;
    }

    .register-box .contact-list li {
        font-size: 14px;
    }

    .register-box .login-title {
        font-size: 28px;
    }
}

/* Animação de destaque para informações importantes */
.register-box .contact-list li:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Ajustes específicos para o campo de email */
.input-group input[type="email"] {
    width: 100%;
    padding: 18px 50px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color: #2c3e50;
    background-color: #fff;
}

.input-group input[type="email"]:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.input-group input[type="email"]::placeholder {
    color: #bdc3c7;
}

/* Ajuste do ícone de email */
.input-group-addon .fa-envelope {
    font-size: 16px;  /* Tamanho específico para o ícone de email */
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
}
.modal-loading {
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-loading .modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.spinner-message {
    margin-top: 15px;
    font-weight: 500;
}
/* Estilos para o erro personalizado */
.custom-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    width: 320px;
    background-color: #fff;
    border-left: 5px solid #dc3545;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.custom-error.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.custom-error-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8d7da;
    color: #721c24;
}
.custom-error-header-content {
    display: flex;
    align-items: center;
}
.custom-error-icon {
    margin-right: 10px;
    color: #dc3545;
    font-size: 18px;
    background-color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-error-title {
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}
.custom-error-close {
    background: none;
    border: none;
    color: #721c24;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-error-body {
    padding: 15px;
    color: #333;
}
.custom-error-message {
    margin: 0;
    font-size: 14px;
}

/* Estilo personalizado para o checkbox */
.register-link input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #1ab394;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    top: 3px;
    margin-right: 8px;
}

.register-link input[type="checkbox"]:checked {
    background-color: #1ab394;
}

.register-link input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    left: 2px;
    top: -2px;
}