:root {
    --primary-color: #E63946;
    --secondary-color: #D90429;
    --accent-color: #FFD60A;
    --text-color: #2B2D42;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --success-color: #4BB543;
    --error-color: #dc3545;
    --box-width: 420px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #FFF5F5;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(230, 57, 70, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 214, 10, 0.1) 0%, transparent 20%);
}

.login-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: var(--box-width);
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 20px;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 16px 16px 0 0;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.logo h1 {
    font-size: 24px;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.version {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2);
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox-group input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-color);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn i {
    margin-left: 8px;
    font-size: 18px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #6c757d;
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.tech-effect {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    filter: blur(60px);
    z-index: -1;
}

.tech-effect-1 {
    top: -100px;
    right: -100px;
}

.tech-effect-2 {
    bottom: -100px;
    left: -100px;
    background: rgba(255, 214, 10, 0.1);
}

@media (max-width: 768px) {
    :root {
        --box-width: 380px;
    }
    
    .tech-effect {
        width: 200px;
        height: 200px;
        filter: blur(40px);
    }
}

@media (max-width: 480px) {
    :root {
        --box-width: 90%;
    }
    
    .login-container {
        padding: 30px 20px;
    }

    .logo img {
        max-width: 140px;
    }
    
    .tech-effect {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }
}

@media (min-width: 1200px) {
    .login-container {
        transform: scale(1.05);
    }
    
    .tech-effect {
        width: 400px;
        height: 400px;
        filter: blur(80px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeInUp 0.5s ease-out forwards;
}
.password-container {
    position: relative;
}

.input-with-icon {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.form-control {
    padding-right: 35px; /* Espaço para o ícone */
    width: 100%;
}
.version {
    color: #777;
    font-size: 12px;
    margin-bottom: 30px;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 20px;
    display: inline-block;
    text-align: center; /* Centraliza o texto */
    margin-left: auto;  /* Centraliza o bloco */
    margin-right: auto; /* Centraliza o bloco */
    display: block;     /* Muda para block para funcionar com margin auto */
    width: fit-content; /* Ajusta a largura ao conteúdo */
}
.dev-adelio-alves {
   color: #777;
    font-size: 12px;
    margin-bottom: 30px;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 20px;
    display: inline-block;
}
 /* Estilos para o link de ajuda */
    .help-link {
      text-align: center;
      margin-top: 20px;
      margin-bottom: 10px;
    }
    .help-link a {
      color: #0066cc;
      text-decoration: none;
      cursor: pointer;
      font-size: 0.9rem;
    }
    .help-link a:hover {
      text-decoration: underline;
    }