/* Estilos gerais */
body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
    padding: 20px;
}

/* Container do login */
.login-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
}

/* Logomarca */
.login-logo img {
    width: 100%;
    max-width: 150px;
    margin-bottom: 30px;
}

/* Seleção de sistema */
.system-selection h3 {
    margin-bottom: 30px;
    color: #333;
    font-size: 22px;
    font-weight: normal;
}

.systems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Cards dos sistemas */
.system-card {
    background-color: #f8f9fa;
    padding: 30px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.system-card:hover {
    background-color: #007BFF;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,123,255,0.3);
    border-color: #007BFF;
}

/* Ícones dos sistemas - agora usando imagens */
.system-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    height: 60px;
}

.system-icon img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Filtro para as imagens quando hover no card */
.system-card:hover .system-icon img {
    /* Filtro removido para manter as cores originais das logos */
}

.system-card h3 {
    margin: 15px 0 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.system-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        padding: 25px;
        width: 90%;
        max-width: 400px;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .system-card {
        padding: 25px 20px;
    }
    
    .system-icon {
        height: 50px;
    }
    
    .system-icon img {
        max-width: 70px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px;
    }

    .login-logo img {
        max-width: 120px;
    }
    
    .system-selection h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .system-card {
        padding: 20px 15px;
    }
    
    .system-card h3 {
        font-size: 18px;
    }
    
    .system-card p {
        font-size: 13px;
    }
    
    .system-icon {
        height: 45px;
    }
    
    .system-icon img {
        max-width: 60px;
        max-height: 45px;
    }
}

/* Estilos para formulários (manter para páginas de login específicas) */
.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 92%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
